From 08eb3b11bc0b61682a7efc09296ebeac27115ea9 Mon Sep 17 00:00:00 2001 From: Michael Krasnyk Date: Tue, 1 Aug 2017 20:35:26 +0200 Subject: [PATCH] Test case for sliproad handling with 4 roads at target intersection --- .../guidance/dedicated-turn-roads.feature | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/features/guidance/dedicated-turn-roads.feature b/features/guidance/dedicated-turn-roads.feature index ac1645e26..f3e267c07 100644 --- a/features/guidance/dedicated-turn-roads.feature +++ b/features/guidance/dedicated-turn-roads.feature @@ -944,3 +944,30 @@ Feature: Slipways and Dedicated Turn Lanes When I route I should get | waypoints | route | turns | locations | | a,k | road,,, | depart,turn right,roundabout turn right exit-1,arrive | a,b,h,k | + + @sliproads + Scenario: Sliproad with 4 roads at target + Given the node map + """ + d + . + s . a . b . c . t + ` . ' + ` . ' + '.' + e + . + f + """ + + And the ways + | nodes | highway | name | oneway | + | sabct | primary | sabct | | + | dbef | primary | dbef | | + | ae | primary_link | ae | yes | + | ec | primary_link | ec | yes | + + When I route I should get + | waypoints | route | turns | locations | + | s,f | sabct,ae,dbef,dbef | depart,turn right,turn slight right,arrive | s,a,e,f | + | f,t | dbef,sabct,sabct | depart,turn right,arrive | f,e,t |