more reorganizing of tests
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
@routing @car @access
|
||||
Feature: Restricted access
|
||||
Feature: Car - Restricted access
|
||||
|
||||
Background:
|
||||
Given the speedprofile "car"
|
||||
|
||||
Scenario: Access tags on ways
|
||||
Scenario: Car - Access tags on ways
|
||||
Then routability should be
|
||||
| access | bothw |
|
||||
| yes | x |
|
||||
@@ -20,7 +20,7 @@ Feature: Restricted access
|
||||
| designated | |
|
||||
| some_tag | x |
|
||||
|
||||
Scenario: Access tags for other modes should have no effect
|
||||
Scenario: Car - Access tags for other modes should have no effect
|
||||
Then routability should be
|
||||
| access | bothw |
|
||||
| ufo:yes | x |
|
||||
@@ -36,7 +36,7 @@ Feature: Restricted access
|
||||
| ufo:designated | x |
|
||||
| ufo:some_tag | x |
|
||||
|
||||
Scenario: Access tags on nodes
|
||||
Scenario: Car - Access tags on nodes
|
||||
Then routability should be
|
||||
| node:access | bothw |
|
||||
| yes | x |
|
||||
@@ -52,7 +52,7 @@ Feature: Restricted access
|
||||
| designated | |
|
||||
| some_tag | x |
|
||||
|
||||
Scenario: Access tags on both nodes and way
|
||||
Scenario: Car - Access tags on both nodes and way
|
||||
Then routability should be
|
||||
| access | node:access | bothw |
|
||||
| yes | yes | x |
|
||||
@@ -63,4 +63,4 @@ Feature: Restricted access
|
||||
| no | some_tag | |
|
||||
| some_tag | yes | |
|
||||
| some_tag | no | |
|
||||
| some_tag | some_tag | |
|
||||
| some_tag | some_tag | |
|
||||
@@ -1,10 +1,10 @@
|
||||
@routing @car @barrier
|
||||
Feature: Barriers
|
||||
Feature: Car - Barriers
|
||||
|
||||
Background:
|
||||
Given the speedprofile "car"
|
||||
|
||||
Scenario: Barriers
|
||||
Scenario: Car - Barriers
|
||||
Then routability should be
|
||||
| highway | node/barrier | node/access | bothw |
|
||||
| primary | | | x |
|
||||
@@ -16,7 +16,7 @@ Feature: Barriers
|
||||
| primary | bollard | | |
|
||||
| primary | some_tag | | |
|
||||
|
||||
Scenario: Access tag trumphs barriers
|
||||
Scenario: Car - Access tag trumphs barriers
|
||||
Then routability should be
|
||||
| highway | node/barrier | node/access | bothw |
|
||||
| primary | bollard | yes | x |
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
@routing @car @destination
|
||||
Feature: Destination only, no passing through
|
||||
Feature: Car - Destination only, no passing through
|
||||
|
||||
Background:
|
||||
Given the speedprofile "car"
|
||||
|
||||
Scenario: Destination only street
|
||||
Scenario: Car - Destination only street
|
||||
Given the node map
|
||||
| a | | | | |
|
||||
| | b | c | d | |
|
||||
@@ -31,7 +31,7 @@ Feature: Destination only, no passing through
|
||||
| d | c | bcd |
|
||||
| d | b | bcd |
|
||||
|
||||
Scenario: Series of destination only streets
|
||||
Scenario: Car - Series of destination only streets
|
||||
Given the node map
|
||||
| a | | c | | e |
|
||||
| | b | | d | |
|
||||
@@ -50,7 +50,7 @@ Feature: Destination only, no passing through
|
||||
| a | d | ab |
|
||||
| a | e | ab |
|
||||
|
||||
Scenario: Routing inside a destination only area
|
||||
Scenario: Car - Routing inside a destination only area
|
||||
Given the node map
|
||||
| a | | c | | e |
|
||||
| | b | | d | |
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
@routing @car @ferry
|
||||
Feature: Handle ferry routes
|
||||
Feature: Car - Handle ferry routes
|
||||
|
||||
Background:
|
||||
Given the speedprofile "car"
|
||||
|
||||
Scenario: Use a ferry route
|
||||
Scenario: Car - Use a ferry route
|
||||
Given the node map
|
||||
| a | b | c | | |
|
||||
| | | d | | |
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
@routing @car @names
|
||||
Feature: Street names in instructions
|
||||
Feature: Car - Street names in instructions
|
||||
|
||||
Background:
|
||||
Given the speedprofile "car"
|
||||
|
||||
Scenario: A named street
|
||||
Scenario: Car - A named street
|
||||
Given the node map
|
||||
| a | b |
|
||||
| | c |
|
||||
@@ -18,7 +18,7 @@ Feature: Street names in instructions
|
||||
| from | to | route |
|
||||
| a | c | My Way,Your Way |
|
||||
|
||||
Scenario: Use way type to describe unnamed ways
|
||||
Scenario: Car - Use way type to describe unnamed ways
|
||||
Given the node map
|
||||
| a | b | c |
|
||||
|
||||
@@ -31,7 +31,7 @@ Feature: Street names in instructions
|
||||
| from | to | route |
|
||||
| a | c | tertiary,residential |
|
||||
|
||||
Scenario: Don't create instructions for every node of unnamed ways
|
||||
Scenario: Car - Don't create instructions for every node of unnamed ways
|
||||
Given the node map
|
||||
| a | b | c | d |
|
||||
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
@routing @car @oneway
|
||||
Feature: Oneway streets
|
||||
Feature: Car - Oneway streets
|
||||
Handle oneways streets, as defined at http://wiki.openstreetmap.org/wiki/OSM_tags_for_routing
|
||||
|
||||
Background:
|
||||
Given the speedprofile "car"
|
||||
|
||||
Scenario: Simple oneway
|
||||
Scenario: Car - Simple oneway
|
||||
Then routability should be
|
||||
| highway | oneway | forw | backw |
|
||||
| primary | yes | x | |
|
||||
|
||||
Scenario: Simple reverse oneway
|
||||
Scenario: Car - Simple reverse oneway
|
||||
Then routability should be
|
||||
| highway | oneway | forw | backw |
|
||||
| primary | -1 | | x |
|
||||
|
||||
Scenario: Around the Block
|
||||
Scenario: Car - Around the Block
|
||||
Given the node map
|
||||
| a | b |
|
||||
| d | c |
|
||||
@@ -32,7 +32,7 @@ Handle oneways streets, as defined at http://wiki.openstreetmap.org/wiki/OSM_tag
|
||||
| a | b | ab |
|
||||
| b | a | bc,cd,da |
|
||||
|
||||
Scenario: Cars should not be affected by bicycle tags
|
||||
Scenario: Car - Cars should not be affected by bicycle tags
|
||||
Then routability should be
|
||||
| highway | junction | oneway | oneway:bicycle | forw | backw |
|
||||
| primary | | yes | yes | x | |
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@routing @car @restrictions
|
||||
Feature: Turn restrictions
|
||||
Feature: Car - Turn restrictions
|
||||
Handle turn restrictions as defined by http://wiki.openstreetmap.org/wiki/Relation:restriction
|
||||
Note that if u-turns are allowed, turn restrictions can lead to suprising, but correct, routes.
|
||||
|
||||
@@ -7,7 +7,7 @@ Feature: Turn restrictions
|
||||
Given the speedprofile "car"
|
||||
|
||||
@no_turning
|
||||
Scenario: No left turn
|
||||
Scenario: Car - No left turn
|
||||
Given the node map
|
||||
| | n | |
|
||||
| w | j | e |
|
||||
@@ -31,7 +31,7 @@ Feature: Turn restrictions
|
||||
| s | e | sj,ej |
|
||||
|
||||
@no_turning
|
||||
Scenario: No right turn
|
||||
Scenario: Car - No right turn
|
||||
Given the node map
|
||||
| | n | |
|
||||
| w | j | e |
|
||||
@@ -55,7 +55,7 @@ Feature: Turn restrictions
|
||||
| s | e | |
|
||||
|
||||
@no_turning
|
||||
Scenario: No u-turn
|
||||
Scenario: Car - No u-turn
|
||||
Given the node map
|
||||
| | n | |
|
||||
| w | j | e |
|
||||
@@ -79,7 +79,7 @@ Feature: Turn restrictions
|
||||
| s | e | sj,ej |
|
||||
|
||||
@no_turning
|
||||
Scenario: Handle any no_* relation
|
||||
Scenario: Car - Handle any no_* relation
|
||||
Given the node map
|
||||
| | n | |
|
||||
| w | j | e |
|
||||
@@ -103,7 +103,7 @@ Feature: Turn restrictions
|
||||
| s | e | sj,ej |
|
||||
|
||||
@only_turning
|
||||
Scenario: Only left turn
|
||||
Scenario: Car - Only left turn
|
||||
Given the node map
|
||||
| | n | |
|
||||
| w | j | e |
|
||||
@@ -127,7 +127,7 @@ Feature: Turn restrictions
|
||||
| s | e | |
|
||||
|
||||
@only_turning
|
||||
Scenario: Only right turn
|
||||
Scenario: Car - Only right turn
|
||||
Given the node map
|
||||
| | n | |
|
||||
| w | j | e |
|
||||
@@ -151,7 +151,7 @@ Feature: Turn restrictions
|
||||
| s | e | sj,ej |
|
||||
|
||||
@only_turning
|
||||
Scenario: Only straight on
|
||||
Scenario: Car - Only straight on
|
||||
Given the node map
|
||||
| | n | |
|
||||
| w | j | e |
|
||||
@@ -175,7 +175,7 @@ Feature: Turn restrictions
|
||||
| s | e | |
|
||||
|
||||
@no_turning
|
||||
Scenario: Handle any only_* restriction
|
||||
Scenario: Car - Handle any only_* restriction
|
||||
Given the node map
|
||||
| | n | |
|
||||
| w | j | e |
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
@routing @car @way
|
||||
Feature: Accessability of different way types
|
||||
Feature: Car - Accessability of different way types
|
||||
|
||||
Background:
|
||||
Given the speedprofile "car"
|
||||
|
||||
Scenario: Basic access for cars
|
||||
Scenario: Car - Basic access
|
||||
Then routability should be
|
||||
| highway | forw |
|
||||
| motorway | x |
|
||||
@@ -29,4 +29,4 @@ Feature: Accessability of different way types
|
||||
| steps | |
|
||||
| pier | |
|
||||
| cycleway | |
|
||||
| bridleway | |
|
||||
| bridleway | |
|
||||
Reference in New Issue
Block a user