Add core factor tests

This commit is contained in:
Patrick Niklaus
2016-03-07 21:44:32 +01:00
parent f86b5a44bc
commit e125f3a897
2 changed files with 28 additions and 0 deletions
+14
View File
@@ -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 |