Add test for mode change

This commit is contained in:
Patrick Niklaus 2015-08-07 13:03:35 +02:00
parent e30f0e8e11
commit bd37c48596

View File

@ -11,7 +11,21 @@ Feature: Testbot - Travel mode
Background:
Given the profile "testbot"
Scenario: Testbot - Always announce mode change
Given the node map
| a | b | c | d |
And the ways
| nodes | highway | name |
| ab | residential | foo |
| bc | river | foo |
| cd | residential | foo |
When I route I should get
| from | to | route | modes |
| a | d | foo,foo,foo | 1,3,1 |
Scenario: Testbot - Modes in each direction, different forward/backward speeds
Given the node map
| | 0 | 1 | |