From a308b86056fef7322b278e90b7536faeb611b6d8 Mon Sep 17 00:00:00 2001 From: Michael Krasnyk Date: Thu, 22 Jun 2017 14:28:32 +0200 Subject: [PATCH] Test case for #4189 --- features/guidance/turn-lanes.feature | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/features/guidance/turn-lanes.feature b/features/guidance/turn-lanes.feature index c787c9076..a42508729 100644 --- a/features/guidance/turn-lanes.feature +++ b/features/guidance/turn-lanes.feature @@ -1215,3 +1215,32 @@ Feature: Turn Lane Guidance | waypoints | route | turns | lanes | | a,d | road,cross,cross | depart,turn left,arrive | ,none:true none:false right:false, | | a,c | road,road | depart,arrive | , | + + @4189 + Scenario: U-turn after a traffic light + Given the node map + """ + j k + : : + f---g-h-i + : : + a-b-c-d-e + : : + l m + """ + + And the nodes + | node | highway | + | b | traffic_signals | + + And the ways + | nodes | name | lanes | turn:lanes | oneway | + | ab | road1 | 3 | left\|through\|through;right | yes | + | bcde | road1 | 2 | | yes | + | ihgf | road1 | 2 | | yes | + | jgcl | road2 | 2 | | yes | + | mdhk | road2 | 2 | | yes | + + When I route I should get + | waypoints | route | turns | lanes | locations | + | a,f | road1,road1,road1 | depart,continue uturn,arrive | ,, | a,d,f |