fix grid city periphery test

This commit is contained in:
Emil Tin 2012-10-02 13:22:14 +02:00
parent 87ff3f9b9b
commit ed8bc7ae58
2 changed files with 35 additions and 1 deletions

View 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 |

View File

@ -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 |