From de72a8adb61698a8cba7c8caf378eabbdf43b98c Mon Sep 17 00:00:00 2001 From: Michael Krasnyk Date: Mon, 2 Oct 2017 19:05:04 +0200 Subject: [PATCH] Test case for sliproads from link via link to primary, #4348/4 --- .../guidance/dedicated-turn-roads.feature | 29 ++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/features/guidance/dedicated-turn-roads.feature b/features/guidance/dedicated-turn-roads.feature index c062c8369..3849509bc 100644 --- a/features/guidance/dedicated-turn-roads.feature +++ b/features/guidance/dedicated-turn-roads.feature @@ -995,4 +995,31 @@ Feature: Slipways and Dedicated Turn Lanes When I route I should get | waypoints | route | turns | locations | - | s,f | sabc,dbef,dbef | depart,turn right,arrive | s,a,f | \ No newline at end of file + | s,f | sabc,dbef,dbef | depart,turn right,arrive | s,a,f | + + + @sliproads + Scenario: Sliproad from link via link to primary + Given the node map + """ + d + . + s . a . b + ` . + ` . + '. + c + . + f + """ + + And the ways + | nodes | highway | name | oneway | + | sab | primary_link | sab | | + | dbcf | primary | dbcf | | + | ac | primary_link | ae | yes | + + + When I route I should get + | waypoints | route | turns | locations | + | s,f | sab,ae,dbcf,dbcf | depart,turn right,turn slight right,arrive | s,a,c,f |