Skip to content

Commit 8719821

Browse files
Moritz KobitzschPatrick Niklaus
authored andcommitted
test-case illustrating changes to collapsing
1 parent 0cc4c43 commit 8719821

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

features/guidance/collapse-detail.feature

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,32 @@ Feature: Collapse
147147
| waypoints | route | turns |
148148
| a,d | road,left,left | depart,turn left,arrive |
149149
| a,e | road,right,right | depart,turn right,arrive |
150+
151+
# https://www.openstreetmap.org/#map=18/53.89755/27.54306
152+
Scenario: Wide turn into invalid u-turn
153+
Given the node map
154+
"""
155+
g
156+
|
157+
|
158+
f - - - - e
159+
|
160+
|
161+
|
162+
h - - d
163+
|
164+
|
165+
|
166+
a - - - - b - - - - c
167+
"""
168+
169+
And the ways
170+
| nodes | highway | name |
171+
| abc | secondary | road |
172+
| bdfg | service | |
173+
| hd | service | |
174+
| fe | service | |
175+
176+
When I route I should get
177+
| waypoints | route | turns |
178+
| c,e | road,, | depart,turn uturn,arrive |

0 commit comments

Comments
 (0)