osrm-backend/features/testbot/maxspeed.feature

29 lines
1.3 KiB
Gherkin
Raw Permalink Normal View History

2013-01-19 07:04:58 -05:00
@routing @maxspeed @testbot
Feature: Car - Max speed restrictions
2013-08-29 13:29:13 -04:00
Background: Use specific speeds
Given the profile "testbot"
Scenario: Testbot - Respect maxspeeds when lower that way type speed
Then routability should be
| maxspeed | bothw |
| | 36 km/h |
| 18 | 18 km/h |
2013-08-29 13:29:13 -04:00
Scenario: Testbot - Ignore maxspeed when higher than way speed
Then routability should be
| maxspeed | bothw |
| | 36 km/h |
| 100 km/h | 36 km/h |
2013-01-19 07:04:58 -05:00
@opposite
Scenario: Testbot - Forward/backward maxspeed
2013-08-29 13:29:13 -04:00
Then routability should be
| maxspeed | maxspeed:forward | maxspeed:backward | forw | backw |
| | | | 36 km/h | 36 km/h |
| 18 | | | 18 km/h | 18 km/h |
| | 18 | | 18 km/h | 36 km/h |
| | | 18 | 36 km/h | 18 km/h |
| 9 | 18 | | 18 km/h | 9 km/h |
| 9 | | 18 | 9 km/h | 18 km/h |
| 9 | 24 | 18 | 24 km/h | 18 km/h |