From d52ea86cb9a027438e971cfd841258145d82653c Mon Sep 17 00:00:00 2001 From: Moritz Kobitzsch Date: Fri, 10 Feb 2017 17:51:01 +0100 Subject: [PATCH] add failing test --- features/guidance/turn-lanes.feature | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/features/guidance/turn-lanes.feature b/features/guidance/turn-lanes.feature index e52940804..daf62aa5d 100644 --- a/features/guidance/turn-lanes.feature +++ b/features/guidance/turn-lanes.feature @@ -1158,3 +1158,23 @@ Feature: Turn Lane Guidance When I route I should get | waypoints | bearings | route | turns | | 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, |