add testscases for mode changes / additional assertions

This commit is contained in:
Moritz Kobitzsch
2016-11-04 14:44:23 +01:00
parent 7073403f1b
commit 88208bfa5d
5 changed files with 55 additions and 7 deletions
+17
View File
@@ -484,6 +484,23 @@ Feature: Collapse
| waypoints | route | turns |
| a,d | road,road | depart,arrive |
Scenario: No Name During Turns - Ferry
Given the node map
"""
a b
c d
"""
And the ways
| nodes | highway | name | route |
| ab | tertiary | road | |
| bc | tertiary | | ferry |
| cd | tertiary | road | |
When I route I should get
| waypoints | route | turns |
| a,d | road,,road,road | depart,notification right,notification left,arrive |
Scenario: No Name During Turns, Random Oneway
Given the node map
"""