Skip to content

Commit

Permalink
Cleanups
Browse files Browse the repository at this point in the history
Signed-off-by: Björn Harrtell <bjorn@wololo.org>
  • Loading branch information
bjornharrtell committed Apr 12, 2019
1 parent 67fda64 commit a398b51
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public GeometryExtracterTest(String name) {
super(name);
}

public void testGCExtract() throws ParseException {
public void testExtract() throws ParseException {
Geometry gc = reader.read("GEOMETRYCOLLECTION ( POINT (1 1), LINESTRING (0 0, 10 10), LINESTRING (10 10, 20 20), LINEARRING (10 10, 20 20, 15 15, 10 10), POLYGON ((0 0, 100 0, 100 100, 0 100, 0 0)), GEOMETRYCOLLECTION ( POINT (1 1) ) )");

// verify that LinearRings are included when extracting LineStrings
Expand All @@ -28,7 +28,6 @@ public void testGCExtract() throws ParseException {
assertEquals(1, linearRings.size());

// verify that nested geometries are extracted
// verify that only LinearRings are extracted
List points = GeometryExtracter.extract(gc, Geometry.TYPENAME_POINT);
assertEquals(2, points.size());
}
Expand Down

0 comments on commit a398b51

Please sign in to comment.