From f684fa9a7b27dd99fcf76fd4f03fef3f271ce94f Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Tue, 21 Jan 2014 16:11:51 +0100 Subject: [PATCH] fix tests to resemble the fixed duration calculation --- features/bicycle/surface.feature | 42 +++++++++++++++---------------- features/testbot/opposite.feature | 4 +-- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/features/bicycle/surface.feature b/features/bicycle/surface.feature index a723119e7..216307b21 100644 --- a/features/bicycle/surface.feature +++ b/features/bicycle/surface.feature @@ -7,34 +7,34 @@ Feature: Bike - Surfaces Scenario: Bicycle - Slow surfaces Then routability should be | highway | surface | bothw | - | cycleway | | 49s | - | cycleway | asphalt | 49s | - | cycleway | cobblestone:flattened | 73s | - | cycleway | paving_stones | 73s | - | cycleway | compacted | 73s | - | cycleway | cobblestone | 121s | - | cycleway | unpaved | 121s | - | cycleway | fine_gravel | 121s | - | cycleway | gravel | 121s | - | cycleway | pebbelstone | 121s | - | cycleway | dirt | 121s | - | cycleway | earth | 121s | - | cycleway | grass | 121s | - | cycleway | mud | 241s | - | cycleway | sand | 241s | + | cycleway | | 48s | + | cycleway | asphalt | 48s | + | cycleway | cobblestone:flattened | 72s | + | cycleway | paving_stones | 72s | + | cycleway | compacted | 72s | + | cycleway | cobblestone | 120s | + | cycleway | unpaved | 120s | + | cycleway | fine_gravel | 120s | + | cycleway | gravel | 120s | + | cycleway | pebbelstone | 120s | + | cycleway | dirt | 120s | + | cycleway | earth | 120s | + | cycleway | grass | 120s | + | cycleway | mud | 240s | + | cycleway | sand | 240s | Scenario: Bicycle - Good surfaces on small paths Then routability should be | highway | surface | bothw | - | cycleway | | 49s | - | path | | 61s | - | track | | 61s | - | track | asphalt | 49s | - | path | asphalt | 49s | + | cycleway | | 48s | + | path | | 60s | + | track | | 60s | + | track | asphalt | 48s | + | path | asphalt | 48s | Scenario: Bicycle - Surfaces should not make unknown ways routable Then routability should be | highway | surface | bothw | - | cycleway | | 49s | + | cycleway | | 48s | | nosense | | | | nosense | asphalt | | diff --git a/features/testbot/opposite.feature b/features/testbot/opposite.feature index f4b4822e4..b8b9a6110 100644 --- a/features/testbot/opposite.feature +++ b/features/testbot/opposite.feature @@ -14,5 +14,5 @@ Feature: Separate settings for forward/backward direction When I route I should get | from | to | route | distance | time | - | a | d | abcd | 300 +- 1m | 31s | - | d | a | abcd | 300 +- 1m | 68s | + | a | d | abcd | 300 +- 1m | 30s | + | d | a | abcd | 300 +- 1m | 67s |