From e2c1956aa56dc163d6742d29273f558912834612 Mon Sep 17 00:00:00 2001 From: Michael Krasnyk Date: Fri, 16 Feb 2018 22:24:18 +0100 Subject: [PATCH] Test for a ramp bifurcation obviousness --- features/guidance/motorway.feature | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/features/guidance/motorway.feature b/features/guidance/motorway.feature index c683664c8..98e019e46 100644 --- a/features/guidance/motorway.feature +++ b/features/guidance/motorway.feature @@ -299,3 +299,27 @@ Feature: Motorway Guidance | waypoints | route | turns | | a,e | abcde,abcde | depart,arrive | | a,g | abcde,bfg,bfg | depart,off ramp slight right,arrive | + + + # https://www.openstreetmap.org/node/67366428#map=18/33.64613/-84.44425 + Scenario: Ramp Bifurcations should not be suppressed + Given the node map + """ + /-----------c /-----------e + a---b------------------d------------f + """ + + And the ways + | nodes | highway | name | destination | + | ab | motorway | | | + | bc | motorway_link | | City 17 | + | bd | motorway_link | | | + | de | motorway_link | | Domestic Terminal;Camp Creek Parkway;Riverdale Road | + | df | motorway_link | | Montgomery | + + + When I route I should get + | waypoints | route | turns | + | a,c | ,, | depart,fork slight left,arrive | + | a,e | ,,, | depart,fork slight right,turn slight left,arrive | + | a,f | ,, | depart,fork slight right,arrive |