@Test
public void testMakeRect() {
//test rectangle constructor
assertEquals(new RectangleImpl(1,3,2,4, ctx),
new RectangleImpl(new PointImpl(1,2, ctx),new PointImpl(3,4, ctx), ctx));
//test ctx.makeRect
assertEquals(ctx.makeRectangle(1, 3, 2, 4),
ctx.makeRectangle(ctx.makePoint(1, 2), ctx.makePoint(3, 4)));
}