From 99004bbec8681804e03f7a487b980a8599b891b5 Mon Sep 17 00:00:00 2001 From: Moritz Kobitzsch Date: Fri, 10 Jun 2016 10:17:37 +0200 Subject: [PATCH] add testcase --- features/guidance/collapse.feature | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/features/guidance/collapse.feature b/features/guidance/collapse.feature index 8161f39c1..76a1557f7 100644 --- a/features/guidance/collapse.feature +++ b/features/guidance/collapse.feature @@ -511,3 +511,20 @@ Feature: Collapse | i,h | in,road,road | depart,turn slight left,arrive | | a,d | road,road | depart,arrive | | a,j | road,out,out | depart,turn slight right,arrive | + + Scenario: Don't collapse everything to u-turn / too wide + Given the node map + | a | | b | | e | + | | | | | | + | d | | c | | f | + + And the ways + | nodes | highway | name | + | abcd | primary | road | + | be | secondary | top | + | cf | secondary | bottom | + + When I route I should get + | waypoints | turns | route | + | a,d | depart,continue right,end of road right,arrive | road,road,road,road | + | d,a | depart,continue left,end of road left,arrive | road,road,road,road |