add failing test

This commit is contained in:
Moritz Kobitzsch 2017-02-10 17:51:01 +01:00 committed by Patrick Niklaus
parent b906f2a628
commit d52ea86cb9

View File

@ -1158,3 +1158,23 @@ Feature: Turn Lane Guidance
When I route I should get When I route I should get
| waypoints | bearings | route | turns | | waypoints | bearings | route | turns |
| 1,a | 90,2 180,180 | | | | 1,a | 90,2 180,180 | | |
@3379
Scenario: Don't Turn through potential through lanes
Given the node map
"""
d
|
a - - - - b - - - - - c
|
e
"""
And the ways
| nodes | name | oneway | turn:lanes:forward |
| ab | road | yes | left\|none\|none |
| bc | road | yes | |
| ebd | cross | no | |
When I route I should get
| waypoints | route | turns | lanes |
| a,e | road,cross,cross | depart,turn right,arrive | ,left:false none:false none:true, |