add test for acces hierachy on nodes

This commit is contained in:
Emil Tin
2012-10-04 11:38:29 +02:00
parent 216157e00d
commit 794c3490fe
2 changed files with 72 additions and 4 deletions
+31 -2
View File
@@ -5,7 +5,7 @@ Reference: http://wiki.openstreetmap.org/wiki/Key:access
Background:
Given the speedprofile "bicycle"
Scenario: Bike - Access tag hierachy
Scenario: Bike - Access tag hierachy on ways
Then routability should be
| access | vehicle | bicycle | bothw |
| | | | x |
@@ -22,7 +22,24 @@ Reference: http://wiki.openstreetmap.org/wiki/Key:access
| | no | yes | x |
| | yes | no | |
Scenario: Bike - Overwriting implied acccess
Scenario: Bike - Access tag hierachy on nodes
Then routability should be
| node/access | node/vehicle | node/bicycle | bothw |
| | | | x |
| yes | | | x |
| no | | | |
| | yes | | x |
| | no | | |
| no | yes | | x |
| yes | no | | |
| | | yes | x |
| | | no | |
| no | | yes | x |
| yes | | no | |
| | no | yes | x |
| | yes | no | |
Scenario: Bike - Overwriting implied acccess on ways
Then routability should be
| highway | access | vehicle | bicycle | bothw |
| cycleway | | | | x |
@@ -34,6 +51,18 @@ Reference: http://wiki.openstreetmap.org/wiki/Key:access
| runway | | yes | | x |
| runway | | | yes | x |
Scenario: Bike - Overwriting implied acccess on nodes
Then routability should be
| highway | node/access | node/vehicle | node/bicycle | bothw |
| cycleway | | | | x |
| runway | | | | |
| cycleway | no | | | |
| cycleway | | no | | |
| cycleway | | | no | |
| runway | yes | | | |
| runway | | yes | | |
| runway | | | yes | |
Scenario: Bike - Access tags on ways
Then routability should be
| access | bothw |