Skip to content

Commit

Permalink
Fixed polyline test after we removed the code to reverse polyline dir…
Browse files Browse the repository at this point in the history
…ection

That concept only makes sense in closed geometries like polygons
  • Loading branch information
craigtaverner committed Jan 8, 2022
1 parent 4ca25ac commit e499e3d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ public void shouldCreateOSMGraphPolylineOneDirectionOverlap() {

if (result.hasNext()) {
String WKT = (String) result.next().get("WKT");
assertThat(WKT, equalTo("MULTILINESTRING((3.0 2.0,3.0 1.0,3.0 0.0,2.0 2.0,2.0 1.0,2.0 0.0,1.0 2.0,1.0 1.0,1.0 0.0,0.0 2.0,0.0 1.0,0.0 0.0))"));
assertThat(WKT, equalTo("MULTILINESTRING((0.0 0.0,0.0 1.0,0.0 2.0,1.0 0.0,1.0 1.0,1.0 2.0,2.0 0.0,2.0 1.0,2.0 2.0,3.0 0.0,3.0 1.0,3.0 2.0))"));
}

tx.commit();
Expand Down

0 comments on commit e499e3d

Please sign in to comment.