From 50d3c2c9d1957f4ca4e159d9cc939c875f2f53f9 Mon Sep 17 00:00:00 2001 From: Emil Tin Date: Tue, 2 Oct 2012 13:46:40 +0200 Subject: [PATCH] improve test for maxspeed --- features/car/maxspeed.feature | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/features/car/maxspeed.feature b/features/car/maxspeed.feature index da6222460..54182b83a 100644 --- a/features/car/maxspeed.feature +++ b/features/car/maxspeed.feature @@ -5,7 +5,7 @@ Feature: Max speed restrictions Given the speedprofile "car" Given a grid size of 1000 meters - Scenario: Car - Max speed on a fast road + Scenario: Car - Maxspeed below profile speed of way type Given the node map | a | b | c | @@ -15,20 +15,20 @@ Feature: Max speed restrictions | bc | motorway | 10 | When I route I should get - | from | to | route | time | - | a | b | ab | 40s ~10% | - | b | c | bc | 360s +-1 | + | from | to | route | time | + | a | b | ab | 40s ~10% | + | b | c | bc | 360s ~10% | - Scenario: Car - Max speed on a slow roads + Scenario: Car - Maxspeed above profile speed of way type Given the node map | a | b | c | And the ways - | nodes | maxspeed | - | ab | | - | bc | 10 | + | nodes | highway | maxspeed | + | ab | residential | | + | bc | residential | 50 | When I route I should get - | from | to | route | time | - | a | b | ab | 60s ~10% | - | b | c | bc | 360s +-1 | + | from | to | route | time | + | a | b | ab | 145s ~10% | + | b | c | bc | 145s ~10% |