From 9edd161da322c0c6e2cd9dec2884f38aef1f789c Mon Sep 17 00:00:00 2001 From: Michael Krasnyk Date: Thu, 26 Apr 2018 14:18:50 +0200 Subject: [PATCH] Test for "No turn issued for right turn on un-named roads", #4414 The issue is fixed by d166fc6a75503bbdc77f827b28967150e7dbebe9 --- .../guidance/obvious-turn-discovery.feature | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/features/guidance/obvious-turn-discovery.feature b/features/guidance/obvious-turn-discovery.feature index 414894e7c..fd846acef 100644 --- a/features/guidance/obvious-turn-discovery.feature +++ b/features/guidance/obvious-turn-discovery.feature @@ -1209,3 +1209,33 @@ Feature: Simple Turns | a | c | knob,knob | depart,arrive | | d | e | soph,soph | depart,arrive | | d | a | soph,knob,knob | depart,turn left,arrive | + + + # https://www.openstreetmap.org/node/30797565 + Scenario: No turn instruction when turning from unnamed onto unnamed + Given the node map + """ + a + | + | + | + | + b----------------c + | + | + | + | + | + | + d + """ + + And the ways + | nodes | highway | name | ref | + | ab | trunk_link | | | + | db | secondary | | L 460 | + | bc | secondary | | | + + When I route I should get + | from | to | route | turns | + | d | c | ,, | depart,turn right,arrive |