diff --git a/features/testbot/matching.feature b/features/testbot/matching.feature index 91bf928fa..de7dd9b61 100644 --- a/features/testbot/matching.feature +++ b/features/testbot/matching.feature @@ -18,6 +18,20 @@ Feature: Basic Map Matching | trace | timestamps | matchings | | abcd | 0 1 62 63 | ab,cd | + Scenario: Testbot - Map matching with core factor + Given the contract extra arguments "--core 0.8" + Given the node map + | a | b | c | d | + | | | e | | + + And the ways + | nodes | oneway | + | abcd | no | + + When I match I should get + | trace | timestamps | matchings | + | abcd | 0 1 2 3 | abcd | + Scenario: Testbot - Map matching with small distortion Given the node map | a | b | c | d | e | diff --git a/features/testbot/via.feature b/features/testbot/via.feature index bfed93e3d..95e5f6324 100644 --- a/features/testbot/via.feature +++ b/features/testbot/via.feature @@ -15,6 +15,20 @@ Feature: Via points When I route I should get | waypoints | route | | a,b,c | abc,abc | + + Scenario: Simple via point with core factor + Given the contract extra arguments "--core 0.8" + Given the node map + | a | b | c | + + And the ways + | nodes | + | abc | + + When I route I should get + | waypoints | route | + | a,b,c | abc,abc | + | c,b,a | abc,abc | | c,b,a | abc,abc | Scenario: Via point at a dead end