Add arrival instruction

This commit is contained in:
Lauren Budorick
2016-03-31 17:46:27 -07:00
parent 34337ec3c9
commit 0084f54f0d
6 changed files with 137 additions and 137 deletions
+8 -8
View File
@@ -20,8 +20,8 @@ Feature: U-turns at via points
| fg |
When I route I should get
| waypoints | route | turns |
| a,e,c | ab,be,be,ef,fg,dg,cd | depart,right,via,straight,straight,straight,straight,arrive |
| waypoints | route | turns |
| a,e,c | ab,be,be,ef,fg,dg,cd,cd | depart,right,arrive,depart,straight,left,left,arrive |
Scenario: Query param to allow U-turns at all via points
Given the node map
@@ -42,8 +42,8 @@ Feature: U-turns at via points
| fg |
When I route I should get
| waypoints | route |
| a,e,c | ab,be,be,be,bc |
| waypoints | route |
| a,e,c | ab,be,be,be,bc,bc |
@todo
Scenario: Instructions at via points at u-turns
@@ -65,8 +65,8 @@ Feature: U-turns at via points
| fg |
When I route I should get
| waypoints | route | turns |
| a,e,c | ab,be,be,bc | depart,right,uturn,right,arrive |
| waypoints | route | turns |
| a,e,c | ab,be,be,bc,bc | depart,right,uturn,right,arrive |
Scenario: u-turn mixed with non-uturn vias
Given the node map
@@ -88,6 +88,6 @@ Feature: U-turns at via points
| fg |
When I route I should get
| waypoints | route |
| 1,2,3,4,5 | ab,be,be,be,bc,bc,cd,dg,dg,dg,cd |
| waypoints | route |
| 1,2,3,4,5 | ab,be,be,be,bc,bc,bc,be,ef,fg,dg,dg,dg,cd,cd |