osrm-backend/features/car/access.feature

49 lines
1.4 KiB
Gherkin
Raw Normal View History

@routing @car @access
2012-10-01 07:27:08 -04:00
Feature: Car - Restricted access
2012-09-30 06:01:56 -04:00
Background:
Given the speedprofile "car"
2012-09-30 06:01:56 -04:00
2012-10-01 07:27:08 -04:00
Scenario: Car - Access tags on ways
Then routability should be
2012-09-30 06:01:56 -04:00
| access | bothw |
| yes | x |
| motorcar | x |
| motor_vehicle | x |
| vehicle | x |
| permissive | x |
| designated | x |
| no | |
| private | |
| agricultural | |
| forestery | |
2012-09-30 06:01:56 -04:00
| some_tag | x |
2012-10-01 07:27:08 -04:00
Scenario: Car - Access tags on nodes
Then routability should be
| node/access | bothw |
2012-09-30 06:01:56 -04:00
| yes | x |
| motorcar | x |
| motor_vehicle | x |
| vehicle | x |
| permissive | x |
| designated | x |
| no | |
| private | |
| agricultural | |
| forestery | |
2012-09-30 06:01:56 -04:00
| some_tag | x |
2012-10-01 07:27:08 -04:00
Scenario: Car - Access tags on both nodes and way
2012-09-30 06:01:56 -04:00
Then routability should be
| access | node/access | bothw |
2012-09-30 06:01:56 -04:00
| yes | yes | x |
| yes | no | |
| yes | some_tag | x |
2012-09-30 06:01:56 -04:00
| no | yes | |
| no | no | |
| no | some_tag | |
| some_tag | yes | x |
2012-09-30 06:01:56 -04:00
| some_tag | no | |
| some_tag | some_tag | x |