From f88a4baf796cbaa2028360eea9f324fd4cd9315d Mon Sep 17 00:00:00 2001 From: Emil Tin Date: Tue, 19 Feb 2013 08:54:23 +0100 Subject: [PATCH] update bike tests --- features/bicycle/maxspeed.feature | 24 ++++++++++++------------ features/bicycle/pushing.feature | 4 ++-- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/features/bicycle/maxspeed.feature b/features/bicycle/maxspeed.feature index b02fe4e33..9924f5596 100644 --- a/features/bicycle/maxspeed.feature +++ b/features/bicycle/maxspeed.feature @@ -7,35 +7,35 @@ Feature: Bike - Max speed restrictions Scenario: Bicycle - Respect maxspeeds when lower that way type speed Then routability should be | highway | maxspeed | bothw | - | residential | | 40s ~10% | + | residential | | 49s ~10% | | residential | 10 | 72s ~10% | Scenario: Bicycle - Ignore maxspeed when higher than way speed Then routability should be | highway | maxspeed | bothw | - | residential | | 40s ~10% | - | residential | 80 | 40s ~10% | + | residential | | 49s ~10% | + | residential | 80 | 49s ~10% | @todo Scenario: Bicycle - Maxspeed formats Then routability should be | highway | maxspeed | bothw | - | residential | | 40s ~10% | + | residential | | 49s ~10% | | residential | 5 | 144s ~10% | | residential | 5mph | 90s ~10% | | residential | 5 mph | 90s ~10% | | residential | 5MPH | 90s ~10% | | residential | 5 MPH | 90s ~10% | - | trunk | 5unknown | 40s ~10% | - | trunk | 5 unknown | 40s ~10% | + | trunk | 5unknown | 49s ~10% | + | trunk | 5 unknown | 49s ~10% | @todo Scenario: Bicycle - Maxspeed special tags Then routability should be | highway | maxspeed | bothw | - | residential | | 40s ~10% | - | residential | none | 40s ~10% | - | residential | signals | 40s ~10% | + | residential | | 49s ~10% | + | residential | none | 49s ~10% | + | residential | signals | 49s ~10% | Scenario: Bike - Do not use maxspeed when higher that way type speed Given the node map @@ -48,13 +48,13 @@ Feature: Bike - Max speed restrictions When I route I should get | from | to | route | time | - | a | b | ab | 20s ~5% | - | b | c | bc | 20s ~5% | + | a | b | ab | 24s ~5% | + | b | c | bc | 24s ~5% | Scenario: Bike - Forward/backward maxspeed Given the shortcuts | key | value | - | bike | 43s ~10% | + | bike | 49s ~10% | | run | 73s ~10% | | walk | 145s ~10% | | snail | 720s ~10% | diff --git a/features/bicycle/pushing.feature b/features/bicycle/pushing.feature index 1c6919706..169d340e3 100644 --- a/features/bicycle/pushing.feature +++ b/features/bicycle/pushing.feature @@ -5,8 +5,8 @@ Feature: Bike - Accessability of different way types Given the profile "bicycle" Given the shortcuts | key | value | - | bike | 40s ~20% | - | foot | 180s ~20% | + | bike | 49s ~20% | + | foot | 121s ~20% | Scenario: Bike - Pushing bikes on pedestrian-only ways Then routability should be