fix grid city periphery test
This commit is contained in:
parent
87ff3f9b9b
commit
ed8bc7ae58
34
features/car/maxspeed.feature
Normal file
34
features/car/maxspeed.feature
Normal file
@ -0,0 +1,34 @@
|
||||
@routing @maxspeed
|
||||
Feature: Max speed restrictions
|
||||
|
||||
Background: Use specific speeds
|
||||
Given the speedprofile "car"
|
||||
Given a grid size of 1000 meters
|
||||
|
||||
Scenario: Car - Max speed on a fast road
|
||||
Given the node map
|
||||
| a | b | c |
|
||||
|
||||
And the ways
|
||||
| nodes | highway | maxspeed |
|
||||
| ab | motorway | |
|
||||
| bc | motorway | 10 |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | time |
|
||||
| a | b | ab | 60s ~10% |
|
||||
| b | c | bc | 360s +-1 |
|
||||
|
||||
Scenario: Car - Max speed on a slow roads
|
||||
Given the node map
|
||||
| a | b | c |
|
||||
|
||||
And the ways
|
||||
| nodes | maxspeed |
|
||||
| ab | |
|
||||
| bc | 10 |
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | time |
|
||||
| a | b | ab | 60s ~10% |
|
||||
| b | c | bc | 360s +-1 |
|
@ -214,7 +214,7 @@ Feature: Basic Routing
|
||||
When I route I should get
|
||||
| from | to | route |
|
||||
| a | d | abcd |
|
||||
| d | a | efgh |
|
||||
| d | a | abcd |
|
||||
| a | m | aeim |
|
||||
| m | a | aeim |
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user