add test for current contraflow instructions
This commit is contained in:
parent
f557e1efb4
commit
cf6c1e97bb
@ -85,3 +85,21 @@ Feature: Bike - Accessability of different way types
|
|||||||
Then routability should be
|
Then routability should be
|
||||||
| junction | forw | backw |
|
| junction | forw | backw |
|
||||||
| roundabout | x | |
|
| roundabout | x | |
|
||||||
|
|
||||||
|
Scenario: Bike - Instructions when pushing bike on oneways
|
||||||
|
Given the node map
|
||||||
|
| a | b | |
|
||||||
|
| | c | d |
|
||||||
|
|
||||||
|
And the ways
|
||||||
|
| nodes | highway | oneway |
|
||||||
|
| ab | primary | |
|
||||||
|
| bc | primary | yes |
|
||||||
|
| cd | primary | |
|
||||||
|
|
||||||
|
When I route I should get
|
||||||
|
| from | to | route | turns |
|
||||||
|
| a | d | ab,bc,cd | head,right,left,destination |
|
||||||
|
| d | a | cd,bc,ab | head,enter_contraflow,leave_contraflow,destination |
|
||||||
|
| c | a | bc,ab | head,leave_contraflow,destination |
|
||||||
|
| d | b | cd,bc | head,enter_contraflow,destination |
|
Loading…
Reference in New Issue
Block a user