From 061d78c68163d4655ef9c5d92b66d4bc1cdbc3e1 Mon Sep 17 00:00:00 2001 From: Emil Tin Date: Mon, 28 Jan 2013 08:30:34 +0100 Subject: [PATCH] test partial duration of ways --- features/testbot/duration.feature | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/features/testbot/duration.feature b/features/testbot/duration.feature index bdf6344bb..3d6735cc5 100644 --- a/features/testbot/duration.feature +++ b/features/testbot/duration.feature @@ -23,3 +23,17 @@ Feature: Durations | b | c | bc | 200m +-1 | 600s +-1 | | c | d | cd | 300m +-1 | 3600s +-1 | | d | e | de | 144m +-2 | 36000s +-1 | + + Scenario: Partial duration of ways + Given the node map + | a | b | | c | + + And the ways + | nodes | highway | duration | + | abc | primary | 0:01 | + + When I route I should get + | from | to | route | distance | time | + | a | c | abc | 300m +-1 | 60s +-1 | + | a | b | ab | 100m +-1 | 20s +-1 | + | b | c | bc | 200m +-1 | 40s +-1 |