osrm-backend/features/testbot/opposite.feature

21 lines
582 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
2016-09-30 03:33:08 -04:00
"""
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
2016-03-31 20:23:12 -04:00
| from | to | route | distance | speed |
| a | d | abcd,abcd | 300 +- 1m | 36 km/h |
| d | a | abcd,abcd | 300 +- 1m | 16 km/h +- 1 |