fix signal penalty scenario

This commit is contained in:
Emil Tin 2012-09-28 16:52:58 +02:00
parent e69777d20a
commit 49b7fffd66

View File

@ -40,16 +40,16 @@ Testbot uses a signal penalty of 7s
| nodes | highway | | nodes | highway |
| abc | primary | | abc | primary |
| def | secondary | | def | secondary |
| ghi | tertiary | | ghi | tertiary |
When I route I should get When I route I should get
| from | to | route | time | | from | to | route | time |
| a | b | abc | 10s +-1 | | a | b | abc | 10s +-1 |
| a | c | abc | 17s +-1 | | a | c | abc | 17s +-1 |
| d | e | abc | 20s +-1 | | d | e | def | 20s +-1 |
| d | f | abc | 27s +-1 | | d | f | def | 27s +-1 |
| g | h | abc | 30s +-1 | | g | h | ghi | 30s +-1 |
| g | i | abc | 37s +-1 | | g | i | ghi | 37s +-1 |
Scenario: Passing multiple traffic signals should incur a accumulated delay Scenario: Passing multiple traffic signals should incur a accumulated delay
Given the node map Given the node map