assertTrue(p1.getDimension(null) == 0);
//System.out.println("Coordinate dimension is " + p1.getCoordinateDimension());
assertTrue(p1.getCoordinateDimension() == 2);
Complex cp1 = p1.getClosure();
//System.out.println("Class of p1.closure() is " + cp1.getClass());
assertTrue(cp1 instanceof CompositePoint);
//System.out.println("p1.closure() is " + cp1);
assertTrue(p1.isCycle() == true);