@Test
public void testCentralSymmetry() {
IPoint pt = ShapeFactory.createPoint();
assertNull(pt.centralSymmetry(null));
assertEquals(ShapeFactory.createPoint(-1,0), ShapeFactory.createPoint(1,0).centralSymmetry(pt));
assertEquals(ShapeFactory.createPoint(0,-1), ShapeFactory.createPoint(0,1).centralSymmetry(pt));
assertEquals(ShapeFactory.createPoint(1,0), ShapeFactory.createPoint(-1,0).centralSymmetry(pt));
assertEquals(ShapeFactory.createPoint(0,1), ShapeFactory.createPoint(0,-1).centralSymmetry(pt));
}