Fixing test for opposite directions

This commit is contained in:
DennisOSRM
2013-01-18 16:42:04 +01:00
parent b069725df0
commit 7b4b7232fc
2 changed files with 12 additions and 6 deletions
+6 -6
View File
@@ -1,4 +1,4 @@
@routing @opposite @todo
@routing @opposite
Feature: Separate settings for forward/backward direction
Background:
@@ -7,13 +7,13 @@ Feature: Separate settings for forward/backward direction
@smallest
Scenario: Going against the flow
Given the node map
| a | b |
| a | b | c | d |
And the ways
| nodes | highway |
| ab | river |
| abcd | river |
When I route I should get
| from | to | route | distance | time |
| a | b | ab | 100m | 10s |
| b | a | ab | 100m | 20s |
| from | to | route | distance | time |
| a | d | abcd | 300 +- 1m | 30s |
| d | a | abcd | 300 +- 1m | 55s |