testing of barrier nodes

This commit is contained in:
Emil Tin
2012-09-29 11:32:53 +02:00
parent 6f00e8c936
commit 098454c875
3 changed files with 74 additions and 4 deletions
+50
View File
@@ -0,0 +1,50 @@
@routing @barrier
Feature: Barriers
Scenario: Barriers and cars
Given the speedprofile "car"
Then routability should be
| highway | node/barrier | node/access | forw | backw |
| primary | | | x | x |
| primary | bollard | | | |
| primary | gate | | | |
| primary | cattle_grid | | | |
| primary | border_control | | | |
| primary | toll_booth | | | |
| primary | sally_port | | | |
| primary | bollard | yes | x | x |
| primary | gate | yes | x | x |
| primary | cattle_grid | yes | x | x |
| primary | border_control | yes | x | x |
| primary | toll_booth | yes | x | x |
| primary | sally_port | yes | x | x |
| primary | bollard | motorcar | x | x |
| primary | bollard | motor_vehicle | x | x |
| primary | bollard | vehicle | x | x |
| primary | bollard | motorcar | x | x |
| primary | bollard | permissive | x | x |
| primary | bollard | designated | x | x |
Scenario: Barriers and bicycles
Given the speedprofile "bicycle"
Then routability should be
| highway | node/barrier | node/access | forw | backw |
| primary | | | x | x |
| primary | bollard | | x | x |
| primary | gate | | | |
| primary | cattle_grid | | | |
| primary | border_control | | | |
| primary | toll_booth | | | |
| primary | sally_port | | | |
| primary | bollard | yes | x | x |
| primary | gate | yes | x | x |
| primary | cattle_grid | yes | x | x |
| primary | border_control | yes | x | x |
| primary | toll_booth | yes | x | x |
| primary | sally_port | yes | x | x |
| primary | bollard | motorcar | | |
| primary | bollard | motor_vehicle | | |
| primary | bollard | vehicle | x | x |
| primary | bollard | motorcar | | |
| primary | bollard | permissive | x | x |
| primary | bollard | designated | x | x |