Adds barrier=gate regression tests, see #581

This commit is contained in:
Daniel J. Hofmann 2016-12-13 16:47:21 +01:00
parent a51ef67db8
commit 94854b5c90

View File

@ -221,6 +221,7 @@ Feature: Car - Restricted access
| highway | toll | bothw |
| primary | yes | |
Scenario: Car - directional access tags
Then routability should be
| highway | access | access:forward | access:backward | forw | backw |
@ -232,3 +233,15 @@ Feature: Car - Restricted access
| primary | no | | yes | | x |
| primary | no | yes | | x | |
| primary | no | yes | yes | x | x |
Scenario: Car - barrier=gate should be routed over unless explicitely forbidden
Then routability should be
| node/barrier | access | bothw |
| gate | | x |
| gate | no | |
| gate | yes | x |
| gate | permissive | x |
| gate | designated | x |
| gate | private | |
| gate | garbagetag | x |