verify distance in traffic signal tests

This commit is contained in:
Emil Tin 2012-10-18 14:50:21 +02:00
parent b5f2a98e89
commit ad5b96d6f2

View File

@ -5,7 +5,7 @@ Testbot uses a signal penalty of 7s.
Background: Background:
Given the speedprofile "testbot" Given the speedprofile "testbot"
Scenario: Passing a traffic signal should incur a delay Scenario: Traffic signals should incur a delay, without changing distance
Given the node map Given the node map
| a | b | c | | a | b | c |
| d | e | f | | d | e | f |
@ -20,9 +20,9 @@ Testbot uses a signal penalty of 7s.
| def | | def |
When I route I should get When I route I should get
| from | to | route | time | | from | to | route | time | distance |
| a | c | abc | 20s +-1 | | a | c | abc | 20s +-1 | 200m +-1 |
| d | f | def | 27s +-1 | | d | f | def | 27s +-1 | 200m +-1 |
Scenario: Signal penalty should not depend on way type Scenario: Signal penalty should not depend on way type
Given the node map Given the node map