Exemplo n.º 1
0
 public void testNormalizeEmptyPoint() throws Exception {
   Point point = this.geometryFactory.geometry("POINT EMPTY");
   point = point.normalize();
   assertEquals(null, point.getPoint());
 }
Exemplo n.º 2
0
 public void testNormalizePoint() throws Exception {
   Point point = this.geometryFactory.geometry("POINT (30 30)");
   point = point.normalize();
   CoordinatesTest.assertEquals(point.getPoint(), 30, 30);
 }