public void testComparePoint() throws Exception { final Point p1 = this.geometryFactory.geometry("POINT(30 30)"); final Point p2 = this.geometryFactory.geometry("POINT(30 40)"); assertTrue(p1.compareTo(p2) < 0); }