Skip to content

Commit 005a146

Browse files
committed
Test for a ramp bifurcation obviousness
1 parent 0275464 commit 005a146

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

features/guidance/motorway.feature

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,3 +299,27 @@ Feature: Motorway Guidance
299299
| waypoints | route | turns |
300300
| a,e | abcde,abcde | depart,arrive |
301301
| a,g | abcde,bfg,bfg | depart,off ramp slight right,arrive |
302+
303+
304+
# https://www.openstreetmap.org/node/67366428#map=18/33.64613/-84.44425
305+
Scenario: Ramp Bifurcations should not be suppressed
306+
Given the node map
307+
"""
308+
/-----------c /-----------e
309+
a---b------------------d------------f
310+
"""
311+
312+
And the ways
313+
| nodes | highway | name | destination |
314+
| ab | motorway | | |
315+
| bc | motorway_link | | City 17 |
316+
| bd | motorway_link | | |
317+
| de | motorway_link | | Domestic Terminal;Camp Creek Parkway;Riverdale Road |
318+
| df | motorway_link | | Montgomery |
319+
320+
321+
When I route I should get
322+
| waypoints | route | turns |
323+
| a,c | ,, | depart,fork slight left,arrive |
324+
| a,e | ,,, | depart,fork slight right,turn slight left,arrive |
325+
| a,f | ,, | depart,fork slight right,arrive |

0 commit comments

Comments
 (0)