simplify testbot maxspeed forw/back test
This commit is contained in:
parent
f7505e8877
commit
c65fed1d38
@ -41,32 +41,12 @@ Feature: Car - Max speed restrictions
|
|||||||
|
|
||||||
@opposite
|
@opposite
|
||||||
Scenario: Testbot - Forward/backward maxspeed
|
Scenario: Testbot - Forward/backward maxspeed
|
||||||
Given the node map
|
Then routability should be
|
||||||
| a | b | c | d | e | f | g | h |
|
| maxspeed | maxspeed:forward | maxspeed:backward | forw | backw |
|
||||||
|
| | | | 20s +-1 | 20s +-1 |
|
||||||
And the ways
|
| 18 | | | 40s +-1 | 40s +-1 |
|
||||||
| nodes | maxspeed | maxspeed:forward | maxspeed:backward |
|
| | 18 | | 40s +-1 | 20s +-1 |
|
||||||
| ab | | | |
|
| | | 18 | 20s +-1 | 40s +-1 |
|
||||||
| bc | 18 | | |
|
| 9 | 18 | | 40s +-1 | 80s +-1 |
|
||||||
| cd | | 18 | |
|
| 9 | | 18 | 80s +-1 | 40s +-1 |
|
||||||
| de | | | 18 |
|
| 9 | 24 | 18 | 30s +-1 | 40s +-1 |
|
||||||
| ef | 9 | 18 | |
|
|
||||||
| fg | 9 | | 18 |
|
|
||||||
| gh | 9 | 24 | 18 |
|
|
||||||
|
|
||||||
When I route I should get
|
|
||||||
| from | to | route | time |
|
|
||||||
| a | b | ab | 10s +-1 |
|
|
||||||
| b | a | ab | 10s +-1 |
|
|
||||||
| b | c | bc | 20s +-1 |
|
|
||||||
| c | b | bc | 20s +-1 |
|
|
||||||
| c | d | cd | 20s +-1 |
|
|
||||||
| d | c | cd | 10s +-1 |
|
|
||||||
| d | e | de | 10s +-1 |
|
|
||||||
| e | d | de | 20s +-1 |
|
|
||||||
| e | f | ef | 20s +-1 |
|
|
||||||
| f | e | ef | 40s +-1 |
|
|
||||||
| f | g | fg | 40s +-1 |
|
|
||||||
| g | f | fg | 20s +-1 |
|
|
||||||
| g | h | gh | 15s +-1 |
|
|
||||||
| h | g | gh | 20s +-1 |
|
|
Loading…
Reference in New Issue
Block a user