osrm-backend/features/testbot/opposite.feature

19 lines
533 B
Gherkin
Raw Normal View History

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