diff --git a/features/testbot/matching.feature b/features/testbot/matching.feature index 2fc4f8fa2..bf5166662 100644 --- a/features/testbot/matching.feature +++ b/features/testbot/matching.feature @@ -40,6 +40,64 @@ Feature: Basic Map Matching | trace | timestamps | matchings | | abcd | 0 1 62 63 | ab,cd | + Scenario: Testbot - Map matching with trace splitting suppression + Given the query options + | gaps | ignore | + + 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 62 63 | abcd | + + Scenario: Testbot - Map matching with trace tidying. Clean case. + Given a grid size of 100 meters + + Given the query options + | tidying | true | + + 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 10 20 30 | abcd | + + Scenario: Testbot - Map matching with trace tidying. Dirty case. + Given a grid size of 100 meters + + Given the query options + | tidying | true | + + 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 | + | abacd | 0 10 12 20 30 | abcd | + Scenario: Testbot - Map matching with core factor Given the contract extra arguments "--core 0.8" Given the node map