From 921471a15377b6466530ab669bfd4e15deac6ec9 Mon Sep 17 00:00:00 2001 From: Michael Krasnyk Date: Wed, 8 Nov 2017 00:10:15 -0500 Subject: [PATCH] Test of merging onto a motorway with junction references --- features/guidance/merge.feature | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/features/guidance/merge.feature b/features/guidance/merge.feature index d34170a5f..943a7d6c0 100644 --- a/features/guidance/merge.feature +++ b/features/guidance/merge.feature @@ -126,3 +126,24 @@ Feature: Merging When I route I should get | waypoints | route | turns | | d,c | ,A100,A100 | depart,merge slight right,arrive | + + + # https://www.openstreetmap.org/way/254299122 + @merge + Scenario: Merge onto a motorway with junction references + Given the node map + """ + a b c d + e f + """ + + And the ways + | nodes | name | junction:ref | highway | oneway | + | abc | A100 | | motorway | yes | + | cd | A100 | 1A | motorway | yes | + | eb | | | motorway_link | yes | + | cf | | 1B | motorway_link | yes | + + When I route I should get + | waypoints | route | turns | + | e,d | ,A100,A100 | depart,merge straight,arrive |