Add support for the 'straight' maneuver direction (#4995)

Add support for the 'straight' maneuver direction
This commit is contained in:
Daniel Patterson
2018-04-03 17:20:18 -07:00
committed by GitHub
parent b5a4ffed96
commit 649d4ee512
3 changed files with 7 additions and 0 deletions
+2
View File
@@ -27,6 +27,7 @@ Feature: Maneuver tag support
| maneuver | abc | c | cgi | turn | sharp_right |
| maneuver | hij | i | cde | turn | sharp_left |
| maneuver | abc | c | cde | turn | slight_left |
| maneuver | cde | c | cgi | turn | straight |
When I route I should get
| waypoints | route | turns |
@@ -35,6 +36,7 @@ Feature: Maneuver tag support
| b,g | A Street,C Street,C Street | depart,turn sharp right,arrive |
# Testing re-awakening suppressed turns
| a,e | A Street,B Street,B Street | depart,turn slight left,arrive |
| e,i | B Street,C Street,C Street | depart,turn straight,arrive |
Scenario: single via-way
Given the node map