Michael Krasnyk 2017-06-15 12:20:40 +02:00 committed by Patrick Niklaus
parent 9d8a3e3c97
commit 74bc8966a8

View File

@ -1055,3 +1055,22 @@ Feature: Collapse
When I route I should get
| waypoints | route | turns | locations |
| a,i | President Avenue,Princes Highway,Princes Highway | depart,turn left,arrive | a,b,i |
Scenario: Don't combine uturns
Given the node map
"""
2 d
a - - b - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - c
1
"""
And the ways
| nodes | highway |
| ab | tertiary |
| bc | tertiary |
| bd | service |
When I route I should get
| waypoints | bearings | route | turns | locations |
| 1,2 | 90 270 | ab,bd,ab,ab | depart,turn right,end of road right,arrive | _,b,b,_ |