Point p2 = (Point) reader.read("POINT EMPTY");
assertTrue(p1.compareTo(p2) > 0);
}
public void testNormalizeMultiPoint() throws Exception {
MultiPoint m = (MultiPoint) reader.read(
"MULTIPOINT(30 20, 10 10, 20 20, 30 30, 20 10)");
m.normalize();
MultiPoint expectedValue = (MultiPoint) reader.read(
"MULTIPOINT(10 10, 20 10, 20 20, 30 20, 30 30)");
assertEqualsExact(expectedValue, m);
MultiPoint unexpectedValue = (MultiPoint) reader.read(
"MULTIPOINT(20 10, 20 20, 30 20, 30 30, 10 10)");
assertTrue(! m.equalsExact(unexpectedValue));
}