@Test
public void testPoint() {
OGCGeometry g = OGCGeometry.fromText("POINT(1 2)");
assertTrue(g.geometryType().equals("Point"));
OGCPoint p = (OGCPoint) g;
assertTrue(p.X() == 1);
assertTrue(p.Y() == 2);
assertTrue(g.equals(OGCGeometry.fromText("POINT(1 2)")));
assertTrue(!g.equals(OGCGeometry.fromText("POINT(1 3)")));
OGCGeometry buf = g.buffer(10);
assertTrue(buf.geometryType().equals("Polygon"));