cuke: test speed, fix logging, clear log files on each run
This commit is contained in:
@@ -12,7 +12,20 @@ Feature: Testbot - speeds
|
||||
| secondary | 18 km/h |
|
||||
| tertiary | 12 km/h |
|
||||
|
||||
Scenario: Testbot - Speed on rivers
|
||||
Scenario: Testbot - Speed on rivers, table
|
||||
Then routability should be
|
||||
| highway | forw | backw |
|
||||
| river | 36 km/h | 16 km/h |
|
||||
|
||||
Scenario: Testbot - Speed on rivers, map
|
||||
Given the node map
|
||||
| a | b |
|
||||
|
||||
And the ways
|
||||
| nodes | highway |
|
||||
| ab | river |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | speed | time | distance |
|
||||
| a | b | ab | 36 km/h | 10s | 100m |
|
||||
| b | a | ab | 16 km/h | 22s | 100m |
|
||||
|
||||
Reference in New Issue
Block a user