2013-09-08 16:51:44 -04:00
|
|
|
@routing @foot @roundabout @instruction
|
|
|
|
Feature: Roundabout Instructions
|
|
|
|
|
|
|
|
Background:
|
|
|
|
Given the profile "foot"
|
2016-03-29 16:55:02 -04:00
|
|
|
|
2013-09-08 16:51:44 -04:00
|
|
|
@todo
|
|
|
|
Scenario: Foot - Roundabout instructions
|
2014-03-27 16:46:53 -04:00
|
|
|
# You can walk in both directions on a roundabout, bu the normal roundabout instructions don't
|
|
|
|
# make sense when you're going the opposite way around the roundabout.
|
2016-03-29 16:55:02 -04:00
|
|
|
|
2013-09-08 16:51:44 -04:00
|
|
|
Given the node map
|
|
|
|
| | | v | | |
|
|
|
|
| | | d | | |
|
|
|
|
| s | a | | c | u |
|
|
|
|
| | | b | | |
|
|
|
|
| | | t | | |
|
|
|
|
|
|
|
|
And the ways
|
|
|
|
| nodes | junction |
|
|
|
|
| sa | |
|
|
|
|
| tb | |
|
|
|
|
| uc | |
|
|
|
|
| vd | |
|
|
|
|
| abcda | roundabout |
|
|
|
|
|
|
|
|
When I route I should get
|
2016-03-29 16:55:02 -04:00
|
|
|
| from | to | route | turns |
|
|
|
|
| s | t | sa,tb | depart,enter_roundabout-1,arrive |
|
|
|
|
| s | u | sa,uc | depart,enter_roundabout-2,arrive |
|
|
|
|
| s | v | sa,vd | depart,enter_roundabout-3,arrive |
|
|
|
|
| u | v | uc,vd | depart,enter_roundabout-1,arrive |
|
|
|
|
| u | s | uc,sa | depart,enter_roundabout-2,arrive |
|
|
|
|
| u | t | uc,tb | depart,enter_roundabout-3,arrive |
|