osrm-backend/features/testbot/opposite.feature
2013-01-27 14:36:56 +01:00

20 lines
439 B
Gherkin

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