From 89aa6b78811489ae001cea381f4c47e7462e5287 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Fri, 20 May 2016 00:29:25 +0200 Subject: [PATCH] Add regression test for #2424 --- features/guidance/intersections.feature | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/features/guidance/intersections.feature b/features/guidance/intersections.feature index 531c85166..b12f19c7a 100644 --- a/features/guidance/intersections.feature +++ b/features/guidance/intersections.feature @@ -83,6 +83,25 @@ Feature: Intersections Data | waypoints | route | turns | intersections | | a,d | through,through | depart,arrive | true:90,true:0 true:90 false:270,true:90 true:180 false:270;true:270 | + Scenario: Regression test #2424 + Given the node map + | | | e | | | | | | i | | | | | + | a | | b | | c | | d | | h | | k | | m | + | | | | | f | | | | | | l | | | + + And the ways + | nodes | name | + | abcd | Fritz-Elsas-Straße | + | hkm | Fritz-Elsas-Straße | + | dhi | Martin-Luther-Straße | + | be | corner | + | kl | corner | + | cf | corner | + + When I route I should get + | waypoints | route | turns | + | a,m | Fritz-Elsas-Straße,Fritz-Elsas-Straße| depart,arrive | + Scenario: Passing Two Intersections, Collapsing Given the node map | | | e | | | | |