2013-01-18 10:42:04 -05:00
|
|
|
@routing @opposite
|
2013-01-11 12:14:43 -05:00
|
|
|
Feature: Separate settings for forward/backward direction
|
|
|
|
|
|
|
|
Background:
|
|
|
|
Given the profile "testbot"
|
|
|
|
|
|
|
|
@smallest
|
|
|
|
Scenario: Going against the flow
|
|
|
|
Given the node map
|
2013-01-18 10:42:04 -05:00
|
|
|
| a | b | c | d |
|
2013-01-11 12:14:43 -05:00
|
|
|
|
|
|
|
And the ways
|
|
|
|
| nodes | highway |
|
2013-01-18 10:42:04 -05:00
|
|
|
| abcd | river |
|
2013-01-11 12:14:43 -05:00
|
|
|
|
|
|
|
When I route I should get
|
2013-01-18 10:42:04 -05:00
|
|
|
| from | to | route | distance | time |
|
|
|
|
| a | d | abcd | 300 +- 1m | 30s |
|
|
|
|
| d | a | abcd | 300 +- 1m | 55s |
|