halfway staggered intersection test

This commit is contained in:
karenzshea 2016-11-16 12:13:42 -05:00
parent 3680fc9d90
commit 9b16b757a4

View File

@ -13,7 +13,7 @@ Feature: Staggered Intersections
j
a b c
d
e f g
e f g
h
i
"""
@ -117,7 +117,7 @@ Feature: Staggered Intersections
| jcdeh | primary | road | |
When I route I should get
| waypoints | route | turns | modes |
| waypoints | route | turns | modes |
| a,g | to_sea,road,to_sea,road,road | depart,turn right,turn left,notification straight,arrive | driving,driving,ferry,driving,driving |
| g,a | road,to_sea,road,to_sea,to_sea | depart,notification straight,turn right,turn left,arrive | driving,ferry,driving,driving,driving |
@ -143,3 +143,21 @@ Feature: Staggered Intersections
| a,m | Oak St,Cedar Dr,Oak St,Oak St | depart,turn right,turn left,arrive |
| m,a | Oak St,Cedar Dr,Oak St,Oak St | depart,turn right,turn left,arrive |
Scenario: Staggered Intersection:
Given the node map
"""
j h i
a b c
e f g
"""
And the ways
| nodes | highway | name |
| abc | primary | Oak St |
| efg | residential | Oak St |
| jce | residential | Cedar Dr |
| jhi | residential | Maple Dr |
When I route I should get
| waypoints | route | turns |
| a,e | Oak St,Cedar Dr,Cedar Dr | depart,turn right,arrive |