Add implied oneway cucumber tests for mini roundabouts

This commit is contained in:
Daniel J. Hofmann 2016-05-31 14:01:05 +02:00
parent a85f39c140
commit bd707b0cfc
3 changed files with 29 additions and 20 deletions

View File

@ -55,6 +55,7 @@ Feature: Bike - Oneway streets
| motorway_link | no | yes | | x | | | motorway_link | no | yes | | x | |
| motorway | no | yes | roundabout | x | | | motorway | no | yes | roundabout | x | |
| motorway_link | no | yes | roundabout | x | | | motorway_link | no | yes | roundabout | x | |
| mini_roundabout | no | yes | | x | |
Scenario: Bike - Overriding implied oneways Scenario: Bike - Overriding implied oneways
Then routability should be Then routability should be
@ -64,6 +65,7 @@ Feature: Bike - Oneway streets
| motorway_link | no | | -1 | | | | motorway_link | no | | -1 | | |
| trunk_link | no | | -1 | | | | trunk_link | no | | -1 | | |
| primary | no | roundabout | -1 | | x | | primary | no | roundabout | -1 | | x |
| mini_roundabout | no | | -1 | | x |
Scenario: Bike - Oneway:bicycle should override normal oneways tags Scenario: Bike - Oneway:bicycle should override normal oneways tags
Then routability should be Then routability should be

View File

@ -85,6 +85,12 @@ Feature: Bike - Accessability of different way types
| junction | forw | backw | | junction | forw | backw |
| roundabout | x | | | roundabout | x | |
@roundabout
Scenario: Bike - Don't push bikes against oneway flow on mini roundabouts
Then routability should be
| highway | forw | backw |
| mini_roundabout | x | |
Scenario: Bike - Instructions when pushing bike on oneways Scenario: Bike - Instructions when pushing bike on oneways
Given the node map Given the node map
| a | b | | | a | b | |

View File

@ -24,6 +24,7 @@ Feature: Car - Oneway streets
| motorway | roundabout | x | | | motorway | roundabout | x | |
| motorway_link | roundabout | x | | | motorway_link | roundabout | x | |
| primary | roundabout | x | | | primary | roundabout | x | |
| mini_roundabout | | x | |
Scenario: Car - Overrule implied oneway Scenario: Car - Overrule implied oneway
Then routability should be Then routability should be