add test for pushing bikes on footways etc

This commit is contained in:
Emil Tin
2013-03-22 09:09:19 +01:00
parent 96cd09471b
commit 50f865b81c
2 changed files with 21 additions and 1 deletions
+20 -1
View File
@@ -102,4 +102,23 @@ Feature: Bike - Accessability of different way types
| 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 |
| d | b | cd,bc | head,enter_contraflow,destination |
@todo
Scenario: Bike - Instructions when pushing bike on footway/pedestrian, etc.
Given the node map
| a | b | |
| | c | d |
And the ways
| nodes | highway |
| ab | primary |
| bc | footway |
| 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 |