Skip to content

Commit

Permalink
updates test
Browse files Browse the repository at this point in the history
  • Loading branch information
songololo committed Dec 6, 2023
1 parent 812d94a commit 596af68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tools/test_graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def test_nx_iron_edges():
nx_multi.add_edge(0, 1, geom=line_geom)
nx_out = graphs.nx_iron_edges(nx_multi)
out_geom = nx_out[0][1][0]["geom"]
assert list(out_geom.coords) == [(0.0, 0.0), (0.0, 20.0)]
assert list(out_geom.coords) == [(0.0, 0.0), (0.0, 10.0), (0.0, 20.0)]
# 2 - jogged line should be preserved
line_geom = geometry.LineString([[0, 0], [0, 10], [10, 10], [10, 20]])
nx_multi[0][1][0]["geom"] = line_geom
Expand Down

0 comments on commit 596af68

Please sign in to comment.