From 0ef9580a9a6e6af143110b3a543a1d1408e815e8 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Tue, 1 Nov 2016 20:10:51 +0000 Subject: [PATCH] Add regression test --- features/testbot/matching.feature | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/features/testbot/matching.feature b/features/testbot/matching.feature index ead4b6a74..0c2f3f30f 100644 --- a/features/testbot/matching.feature +++ b/features/testbot/matching.feature @@ -137,6 +137,32 @@ Feature: Basic Map Matching | abeh | abcedgh | 1,2,3,2,3,4,5,4,5,6,7 | | abci | abc,ci | 1,2,3,2,3,8,3,8 | + Scenario: Testbot - Regression test for #3037 + Given the query options + | overview | simplified | + | geometries | geojson | + + Given the node map + """ + a--->---b--->---c + | | | + | ^ | + | | | + e--->---f--->---g + """ + + And the ways + | nodes | oneway | + | abc | yes | + | efg | yes | + | ae | yes | + | cg | yes | + | fb | yes | + + When I match I should get + | trace | matchings | geometry | + | efbc | efbc | 1,0.99964,1.000359,0.99964,1.000359,1,1.000718,1 | + Scenario: Testbot - Geometry details Given the query options | overview | full |