removing duplicated test
This commit is contained in:
parent
4c965b9f44
commit
f0d3cf4e43
@ -72,55 +72,35 @@ Feature: Penalties
|
|||||||
| from | to | route | time |
|
| from | to | route | time |
|
||||||
| a | e | abcde,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
|
||||||
Given the node map
|
Given the node map
|
||||||
"""
|
"""
|
||||||
a b c
|
a b c
|
||||||
d e f
|
d e f
|
||||||
g h i
|
g h i
|
||||||
"""
|
"""
|
||||||
|
|
||||||
And the nodes
|
And the nodes
|
||||||
| node | highway |
|
| node | highway |
|
||||||
| b | traffic_signals |
|
| b | traffic_signals |
|
||||||
| e | traffic_signals |
|
| e | traffic_signals |
|
||||||
| h | traffic_signals |
|
| h | traffic_signals |
|
||||||
|
|
||||||
And the ways
|
And the ways
|
||||||
| 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,abc | 10s +-1 |
|
| a | b | abc,abc | 10s +-1 |
|
||||||
| a | c | abc,abc | 27s +-1 |
|
| a | c | abc,abc | 27s +-1 |
|
||||||
| d | e | def,def | 20s +-1 |
|
| d | e | def,def | 20s +-1 |
|
||||||
| d | f | def,def | 47s +-1 |
|
| d | f | def,def | 47s +-1 |
|
||||||
| g | h | ghi,ghi | 30s +-1 |
|
| g | h | ghi,ghi | 30s +-1 |
|
||||||
| g | i | ghi,ghi | 67s +-1 |
|
| g | i | ghi,ghi | 67s +-1 |
|
||||||
|
|
||||||
Scenario: Passing multiple traffic signals should incur a accumulated delay
|
|
||||||
Given the node map
|
|
||||||
"""
|
|
||||||
a b c d e
|
|
||||||
"""
|
|
||||||
|
|
||||||
And the nodes
|
|
||||||
| node | highway |
|
|
||||||
| b | traffic_signals |
|
|
||||||
| c | traffic_signals |
|
|
||||||
| d | traffic_signals |
|
|
||||||
|
|
||||||
And the ways
|
|
||||||
| nodes |
|
|
||||||
| abcde |
|
|
||||||
|
|
||||||
When I route I should get
|
|
||||||
| from | to | route | time |
|
|
||||||
| 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
|
||||||
|
Loading…
Reference in New Issue
Block a user