From 6d2a65b4ea294d1ab4f7830834d7a0b3286ce366 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Tue, 1 Dec 2015 05:23:32 +0100 Subject: [PATCH] Add additional uturn test --- features/testbot/uturn.feature | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/features/testbot/uturn.feature b/features/testbot/uturn.feature index 943796e69..26c681897 100644 --- a/features/testbot/uturn.feature +++ b/features/testbot/uturn.feature @@ -67,3 +67,27 @@ Feature: U-turns at via points When I route I should get | waypoints | route | turns | | a,e,c | ab,be,be,bc | head,right,uturn,right,destination | + + Scenario: u-turn mixed with non-uturn vias + Given the node map + | a | 1 | b | 3 | c | 5 | d | + | | | 2 | | | | 4 | + | | | e | | f | | g | + + And the query options + | uturns | true | + + And the ways + | nodes | + | ab | + | bc | + | cd | + | be | + | dg | + | ef | + | fg | + + When I route I should get + | waypoints | route | + | 1,2,3,4,5 | ab,be,be,bc,bc,cd,dg,dg,cd | +