fix a few tests
This commit is contained in:
parent
bcddc10b6b
commit
5e1dc11000
@ -32,7 +32,7 @@ Reference: http://wiki.openstreetmap.org/wiki/Key:access
|
|||||||
|
|
||||||
Scenario: Car - Access tag hierachy on nodes
|
Scenario: Car - Access tag hierachy on nodes
|
||||||
Then routability should be
|
Then routability should be
|
||||||
| node/access | node/vehicle | node/motor_vehicle | mnode/otorcar | bothw |
|
| node/access | node/vehicle | node/motor_vehicle | node/motorcar | bothw |
|
||||||
| | | | | x |
|
| | | | | x |
|
||||||
| yes | | | | x |
|
| yes | | | | x |
|
||||||
| no | | | | |
|
| no | | | | |
|
||||||
|
@ -6,19 +6,21 @@ Feature: Choosing route based on length, speed, etc
|
|||||||
|
|
||||||
Scenario: Pick the geometrically shortest route, way types being equal
|
Scenario: Pick the geometrically shortest route, way types being equal
|
||||||
Given the node map
|
Given the node map
|
||||||
| | s | |
|
| | | s | | |
|
||||||
| | t | |
|
| | | t | | |
|
||||||
| a | | b |
|
| x | a | | b | y |
|
||||||
|
|
||||||
And the ways
|
And the ways
|
||||||
| nodes | highway |
|
| nodes | highway |
|
||||||
|
| xa | primary |
|
||||||
|
| by | primary |
|
||||||
| atb | primary |
|
| atb | primary |
|
||||||
| asb | primary |
|
| asb | primary |
|
||||||
|
|
||||||
When I route I should get
|
When I route I should get
|
||||||
| from | to | route |
|
| from | to | route |
|
||||||
| a | b | atb |
|
| x | y | xa,atb,by |
|
||||||
| b | a | atb |
|
| y | x | by,atb,xa |
|
||||||
|
|
||||||
Scenario: Pick the shortest travel time, even when it's longer
|
Scenario: Pick the shortest travel time, even when it's longer
|
||||||
Given the node map
|
Given the node map
|
||||||
@ -34,4 +36,3 @@ Feature: Choosing route based on length, speed, etc
|
|||||||
| from | to | route |
|
| from | to | route |
|
||||||
| a | b | apb |
|
| a | b | apb |
|
||||||
| b | a | apb |
|
| b | a | apb |
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user