Skip to content

Commit c9cf2ba

Browse files
committed
Revert "Fixed broken test based on order of points in polygon"
This reverts commit 5a56f22
1 parent 4bb6591 commit c9cf2ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/neo4j/gis/spatial/pipes/GeoPipesDocTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ public void unite_all()
802802
.createWellKnownText();
803803

804804
assertEquals(
805-
"POLYGON ((4 6, 4 10, 10 10, 10 4, 6 4, 6 2, 5 2, 5 0, 0 0, 0 5, 2 5, 2 6, 4 6))",
805+
"POLYGON ((0 0, 0 5, 2 5, 2 6, 4 6, 4 10, 10 10, 10 4, 6 4, 6 2, 5 2, 5 0, 0 0))",
806806
pipeline.next().getProperty( "WellKnownText" ) );
807807

808808
try
@@ -843,7 +843,7 @@ public void intersect_all()
843843
.intersectAll()
844844
.createWellKnownText();
845845

846-
assertEquals( "POLYGON ((4 4, 4 5, 5 5, 5 4, 4 4))",
846+
assertEquals( "POLYGON ((4 5, 5 5, 5 4, 4 4, 4 5))",
847847
pipeline.next().getProperty( "WellKnownText" ) );
848848

849849
try

0 commit comments

Comments
 (0)