Add missing arrive instruction.
This commit is contained in:
parent
d829a390fd
commit
8c44084af1
@ -21,8 +21,8 @@ Feature: Penalties
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | time | distance |
|
||||
| a | c | abc | 20s +-1 | 200m +-1 |
|
||||
| d | f | def | 27s +-1 | 200m +-1 |
|
||||
| a | c | abc,abc | 20s +-1 | 200m +-1 |
|
||||
| d | f | def,def | 27s +-1 | 200m +-1 |
|
||||
|
||||
Scenario: Signal penalty should not depend on way type
|
||||
Given the node map
|
||||
@ -44,9 +44,9 @@ Feature: Penalties
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | time |
|
||||
| a | c | abc | 27s +-1 |
|
||||
| d | f | def | 47s +-1 |
|
||||
| g | i | ghi | 67s +-1 |
|
||||
| a | c | abc,abc | 27s +-1 |
|
||||
| d | f | def,def | 47s +-1 |
|
||||
| g | i | ghi,ghi | 67s +-1 |
|
||||
|
||||
Scenario: Passing multiple traffic signals should incur a accumulated delay
|
||||
Given the node map
|
||||
@ -64,7 +64,7 @@ Feature: Penalties
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | time |
|
||||
| a | e | abcde | 61s +-1 |
|
||||
| a | e | abcde,abcde | 61s +-1 |
|
||||
|
||||
@todo
|
||||
Scenario: Signal penalty should not depend on way type
|
||||
@ -87,12 +87,12 @@ Feature: Penalties
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | time |
|
||||
| a | b | abc | 10s +-1 |
|
||||
| a | c | abc | 27s +-1 |
|
||||
| d | e | def | 20s +-1 |
|
||||
| d | f | def | 47s +-1 |
|
||||
| g | h | ghi | 30s +-1 |
|
||||
| g | i | ghi | 67s +-1 |
|
||||
| a | b | abc,abc | 10s +-1 |
|
||||
| a | c | abc,abc | 27s +-1 |
|
||||
| d | e | def,def | 20s +-1 |
|
||||
| d | f | def,def | 47s +-1 |
|
||||
| g | h | ghi,ghi | 30s +-1 |
|
||||
| g | i | ghi,ghi | 67s +-1 |
|
||||
|
||||
Scenario: Passing multiple traffic signals should incur a accumulated delay
|
||||
Given the node map
|
||||
@ -110,7 +110,7 @@ Feature: Penalties
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | time |
|
||||
| a | e | abcde | 61s +-1 |
|
||||
| a | e | abcde,abcde | 61s +-1 |
|
||||
|
||||
@todo
|
||||
Scenario: Starting or ending at a traffic signal should not incur a delay
|
||||
@ -145,8 +145,8 @@ Feature: Penalties
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | time |
|
||||
| b | c | abcd | 10s +-1 |
|
||||
| c | b | abcd | 10s +-1 |
|
||||
| b | c | abcd,abcd | 10s +-1 |
|
||||
| c | b | abcd,abcd | 10s +-1 |
|
||||
|
||||
Scenario: Prefer faster route without traffic signals
|
||||
Given a grid size of 50 meters
|
||||
@ -165,4 +165,4 @@ Feature: Penalties
|
||||
|
||||
When I route I should get
|
||||
| from | to | route |
|
||||
| a | c | adc |
|
||||
| a | c | adc,adc |
|
||||
|
Loading…
Reference in New Issue
Block a user