Test for sliproads to roads with empty names

This commit is contained in:
Michael Krasnyk 2017-12-23 15:32:09 +01:00
parent 12d1d84b11
commit 9237430be2

View File

@ -1073,3 +1073,27 @@ Feature: Slipways and Dedicated Turn Lanes
When I route I should get
| waypoints | route | turns | locations |
| s,f | ,dbcf,dbcf | depart,turn right,arrive | s,a,f |
@sliproads
Scenario: Sliproad to a road with a reference only
Given the node map
"""
s . a . b . d
` .
' .
..
c
.
f
"""
And the ways
| nodes | highway | name | ref | oneway |
| sabd | primary | road | | |
| bcf | primary | | K108 | |
| ac | primary_link | | | yes |
When I route I should get
| waypoints | route | turns | locations |
| s,f | road,,, | depart,turn right,turn slight right,arrive | s,a,c,f |