osrm-backend/features/countryfoot/barrier.feature
2024-08-09 10:25:02 +10:00

42 lines
1.6 KiB
Gherkin

@routing @countryfoot @barrier
Feature: Barriers
Background:
Given the profile "countryfoot"
Scenario: Countryfoot - Barriers
Then routability should be
| node/barrier | bothw |
| | x |
| bollard | x |
| gate | x |
| lift_gate | x |
| cycle_barrier | x |
| cattle_grid | x |
| border_control | x |
| toll_booth | x |
| sally_port | x |
| entrance | x |
| wall | |
| fence | |
| some_tag | x |
| block | x |
Scenario: Countryfoot - Access tag trumphs barriers
Then routability should be
| node/barrier | node/access | bothw |
| bollard | | x |
| bollard | yes | x |
| bollard | permissive | x |
| bollard | designated | x |
| bollard | no | |
| bollard | private | |
| bollard | agricultural | |
| wall | | |
| wall | yes | x |
| wall | permissive | x |
| wall | designated | x |
| gate | no | |
| gate | private | |
| gate | agricultural | |