Sliproad case with a single intersection in a cross-road

This commit is contained in:
Michael Krasnyk 2017-09-11 17:45:50 +02:00 committed by Patrick Niklaus
parent 7f8e467523
commit 38ab22ee7c

View File

@ -1023,3 +1023,31 @@ Feature: Slipways and Dedicated Turn Lanes
When I route I should get
| waypoints | route | turns | locations |
| s,f | sab,dbcf,dbcf | depart,turn right,arrive | s,a,f |
@sliproads
Scenario: Sliproad with a single intersection in a cross-road
Given the node map
"""
d
.
s . a . b
` .
' c . g
..
e
.
f
"""
And the ways
| nodes | highway | name | oneway |
| sab | primary | sab | |
| dbcef | primary | dbcef | |
| ae | primary_link | ae | yes |
| cg | primary | cg | |
When I route I should get
| waypoints | route | turns | locations |
| s,f | sab,ae,dbcef,dbcef | depart,turn right,turn slight right,arrive | s,a,e,f |