@Test
public void intersectionTotal() {

    RasterRect first = new RasterRect( 2, 2, 4, 4 );
    RasterRect second = new RasterRect( 3, 3, 2, 2 );
    RasterRect result = RasterRect.intersection( first, second );
    Assert.assertEquals( 3, result.x );
    Assert.assertEquals( 3, result.y );
    Assert.assertEquals( 2, result.width );
    Assert.assertEquals( 2, result.height );
}