head/destination -> depart/arrive to reflect guidance API changes; minor fixes for roundabout tests
This commit is contained in:
committed by
Patrick Niklaus
parent
91567cad9e
commit
2f793473cc
@@ -18,10 +18,10 @@ Feature: Avoid weird loops caused by rounding errors
|
||||
| cg |
|
||||
|
||||
When I route I should get
|
||||
| waypoints | route | turns |
|
||||
| a,1,d | abcd,abcd | head,via,destination |
|
||||
| a,2,d | abcd,abcd | head,via,destination |
|
||||
| a,3,d | abcd,abcd | head,via,destination |
|
||||
| waypoints | route | turns |
|
||||
| a,1,d | abcd,abcd | depart,via,arrive |
|
||||
| a,2,d | abcd,abcd | depart,via,arrive |
|
||||
| a,3,d | abcd,abcd | depart,via,arrive |
|
||||
|
||||
Scenario: Avoid weird loops 1
|
||||
Given the node locations
|
||||
@@ -47,8 +47,8 @@ Feature: Avoid weird loops caused by rounding errors
|
||||
| ie |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | turns |
|
||||
| x | y | hfgd | head,destination |
|
||||
| from | to | route | turns |
|
||||
| x | y | hfgd | depart,arrive |
|
||||
|
||||
Scenario: Avoid weird loops 2
|
||||
Given the node locations
|
||||
@@ -67,8 +67,8 @@ Feature: Avoid weird loops caused by rounding errors
|
||||
| cdec |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | turns |
|
||||
| x | y | abc | head,destination |
|
||||
| from | to | route | turns |
|
||||
| x | y | abc | depart,arrive |
|
||||
|
||||
@412
|
||||
Scenario: Avoid weird loops 3
|
||||
@@ -92,6 +92,6 @@ Feature: Avoid weird loops caused by rounding errors
|
||||
| cf | primary |
|
||||
|
||||
When I route I should get
|
||||
| waypoints | route | turns |
|
||||
| a,2,d | ab,be,ef,ef,cf,cd | head,left,straight,via,straight,left,destination |
|
||||
| a,1,d | ab,be,ef,ef,cf,cd | head,left,straight,via,straight,left,destination |
|
||||
| waypoints | route | turns |
|
||||
| a,2,d | ab,be,ef,ef,cf,cd | depart,left,straight,via,straight,left,arrive |
|
||||
| a,1,d | ab,be,ef,ef,cf,cd | depart,left,straight,via,straight,left,arrive |
|
||||
|
||||
Reference in New Issue
Block a user