osrm-backend/features/testbot/opposite.feature

18 lines
437 B
Gherkin
Raw Normal View History

2013-01-18 10:42:04 -05:00
@routing @opposite
Feature: Separate settings for forward/backward direction
Background:
Given the profile "testbot"
2013-01-18 16:11:22 -05:00
Scenario: Testbot - Going against the flow
Given the node map
2013-01-18 10:42:04 -05:00
| a | b | c | d |
And the ways
| nodes | highway |
2013-01-18 10:42:04 -05:00
| abcd | river |
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 |
2013-01-18 16:11:22 -05:00
| d | a | abcd | 300 +- 1m | 55s |