public void test_EndPoint() { LineString ls = SimpleOpen(); Coordinate coord = new Coordinate(0, 0); Coordinate coord2 = new Coordinate(9.0, 22.0); GeometryFactory gf = new GeometryFactory(_precMod, _sRID); Point point = gf.CreatePoint(coord); Point point2 = gf.CreatePoint(coord2); Point point3 = gf.CreatePoint(coord); point = ls.GetEndPoint() as Point; Assertion.AssertEquals("EndPoint-1: ", true, point.Equals(point2)); Assertion.AssertEquals("EndPoint-2: ", false, point.Equals(point3)); }