Rotation r = new Rotation( Math.PI / 2.0 );
assertPointEquals( new Point( 0, 1 ), r.apply( new Point( 1, 0 )) );
assertPointEquals( new Point( -2, 0 ), r.apply( r.apply( new Point( 2, 0 ))) );
Expansion z = new Expansion( -2 );
assertPointEquals( new Point( 14, -16 ), z.apply( new Point( -7, 8 )) );
}
@Test
public void testTransformationsOnRegions() {
Point[] ps = new Point[] { Point.ORIGIN, new Point( 0.5, -0.5 ), new Point( 1, 1 ) };