fix tests to reflect proper rounding of travel times
This commit is contained in:
@@ -15,4 +15,4 @@ Feature: Separate settings for forward/backward direction
|
||||
When I route I should get
|
||||
| from | to | route | distance | speed |
|
||||
| a | d | abcd | 300 +- 1m | 36 km/h |
|
||||
| d | a | abcd | 300 +- 1m | 16 km/h |
|
||||
| d | a | abcd | 300 +- 1m | 15 km/h |
|
||||
|
||||
@@ -28,4 +28,4 @@ Feature: Testbot - speeds
|
||||
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 |
|
||||
| b | a | ab | 15 km/h | 23s | 100m |
|
||||
|
||||
Reference in New Issue
Block a user