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
@@ -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