osrm-backend/features/testbot/opposite.feature
2016-10-11 09:07:48 +02:00

21 lines
582 B
Gherkin

@routing @testbot @opposite
Feature: Separate settings for forward/backward direction
Background:
Given the profile "testbot"
Scenario: Testbot - 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 | speed |
| a | d | abcd,abcd | 300 +- 1m | 36 km/h |
| d | a | abcd,abcd | 300 +- 1m | 16 km/h +- 1 |