2013-01-19 07:04:58 -05:00
|
|
|
@routing @testbot @opposite
|
2013-01-11 12:14:43 -05:00
|
|
|
Feature: Separate settings for forward/backward direction
|
2013-08-05 13:00:09 -04:00
|
|
|
|
2013-08-29 13:29:13 -04:00
|
|
|
Background:
|
|
|
|
Given the profile "testbot"
|
2013-08-05 13:00:09 -04:00
|
|
|
|
2013-08-29 13:29:13 -04:00
|
|
|
Scenario: Testbot - Going against the flow
|
|
|
|
Given the node map
|
|
|
|
| a | b | c | d |
|
2013-08-05 13:00:09 -04:00
|
|
|
|
2013-08-29 13:29:13 -04:00
|
|
|
And the ways
|
|
|
|
| nodes | highway |
|
|
|
|
| abcd | river |
|
2013-08-05 13:00:09 -04:00
|
|
|
|
2013-08-29 13:29:13 -04:00
|
|
|
When I route I should get
|
2014-04-25 09:24:18 -04:00
|
|
|
| from | to | route | distance | speed |
|
|
|
|
| a | d | abcd | 300 +- 1m | 36 km/h |
|
|
|
|
| d | a | abcd | 300 +- 1m | 16 km/h +- 1 |
|