Add missing arrive instruction.
This commit is contained in:
parent
55c6bc49d4
commit
c7c46d3ff6
@ -20,9 +20,9 @@ Feature: Penalties
|
|||||||
| def |
|
| def |
|
||||||
|
|
||||||
When I route I should get
|
When I route I should get
|
||||||
| from | to | route | time | distance |
|
| from | to | route | time | distance |
|
||||||
| a | c | abc | 20s +-1 | 200m +-1 |
|
| a | c | abc,abc | 20s +-1 | 200m +-1 |
|
||||||
| d | f | def | 27s +-1 | 200m +-1 |
|
| d | f | def,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
|
||||||
@ -43,10 +43,10 @@ Feature: Penalties
|
|||||||
| 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 | c | abc | 27s +-1 |
|
| a | c | abc,abc | 27s +-1 |
|
||||||
| d | f | def | 47s +-1 |
|
| d | f | def,def | 47s +-1 |
|
||||||
| g | i | ghi | 67s +-1 |
|
| g | i | ghi,ghi | 67s +-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
|
||||||
@ -63,8 +63,8 @@ Feature: Penalties
|
|||||||
| abcde |
|
| abcde |
|
||||||
|
|
||||||
When I route I should get
|
When I route I should get
|
||||||
| from | to | route | time |
|
| from | to | route | time |
|
||||||
| a | e | abcde | 61s +-1 |
|
| a | e | abcde,abcde | 61s +-1 |
|
||||||
|
|
||||||
@todo
|
@todo
|
||||||
Scenario: Signal penalty should not depend on way type
|
Scenario: Signal penalty should not depend on way type
|
||||||
@ -86,13 +86,13 @@ Feature: Penalties
|
|||||||
| 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,abc | 10s +-1 |
|
||||||
| a | c | abc | 27s +-1 |
|
| a | c | abc,abc | 27s +-1 |
|
||||||
| d | e | def | 20s +-1 |
|
| d | e | def,def | 20s +-1 |
|
||||||
| d | f | def | 47s +-1 |
|
| d | f | def,def | 47s +-1 |
|
||||||
| g | h | ghi | 30s +-1 |
|
| g | h | ghi,ghi | 30s +-1 |
|
||||||
| g | i | ghi | 67s +-1 |
|
| g | i | ghi,ghi | 67s +-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
|
||||||
@ -109,8 +109,8 @@ Feature: Penalties
|
|||||||
| abcde |
|
| abcde |
|
||||||
|
|
||||||
When I route I should get
|
When I route I should get
|
||||||
| from | to | route | time |
|
| from | to | route | time |
|
||||||
| a | e | abcde | 61s +-1 |
|
| a | e | abcde,abcde | 61s +-1 |
|
||||||
|
|
||||||
@todo
|
@todo
|
||||||
Scenario: Starting or ending at a traffic signal should not incur a delay
|
Scenario: Starting or ending at a traffic signal should not incur a delay
|
||||||
@ -144,9 +144,9 @@ Feature: Penalties
|
|||||||
| abcd | primary |
|
| abcd | primary |
|
||||||
|
|
||||||
When I route I should get
|
When I route I should get
|
||||||
| from | to | route | time |
|
| from | to | route | time |
|
||||||
| b | c | abcd | 10s +-1 |
|
| b | c | abcd,abcd | 10s +-1 |
|
||||||
| c | b | abcd | 10s +-1 |
|
| c | b | abcd,abcd | 10s +-1 |
|
||||||
|
|
||||||
Scenario: Prefer faster route without traffic signals
|
Scenario: Prefer faster route without traffic signals
|
||||||
Given a grid size of 50 meters
|
Given a grid size of 50 meters
|
||||||
@ -164,5 +164,5 @@ Feature: Penalties
|
|||||||
| adc | primary |
|
| adc | primary |
|
||||||
|
|
||||||
When I route I should get
|
When I route I should get
|
||||||
| from | to | route |
|
| from | to | route |
|
||||||
| a | c | adc |
|
| a | c | adc,adc |
|
||||||
|
Loading…
Reference in New Issue
Block a user