From 978350c38823af3223813cbbff973ee181f852b3 Mon Sep 17 00:00:00 2001 From: "Daniel J. Hofmann" Date: Tue, 14 Nov 2017 15:01:13 +0100 Subject: [PATCH] Adds cucumber test for continue not taking ref into account when name is empty --- features/guidance/turn.feature | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/features/guidance/turn.feature b/features/guidance/turn.feature index d3816c73a..f27f9c28e 100644 --- a/features/guidance/turn.feature +++ b/features/guidance/turn.feature @@ -1372,3 +1372,30 @@ Feature: Simple Turns | waypoints | route | turns | | a,d | ab,bcd,bcd | depart,fork slight right,arrive | | a,g | ab,befg,befg | depart,fork slight left,arrive | + + # https://www.openstreetmap.org/#map=18/52.25130/10.42545 + Scenario: Turn for roads with no name, ref changes + Given the node map + """ + d + . + . + e c . . f + . + . + b + . + . + a + """ + + And the ways + | nodes | highway | ref | name | + | abc | tertiary | K 57 | | + | cd | tertiary | K 56 | | + | cf | tertiary | K 56 | | + | ce | residential | | Heinrichshöhe | + + When I route I should get + | waypoints | route | turns | + | a,f | abc,cf,cf | depart,turn right,arrive |