diff --git a/features/testbot/duration.feature b/features/testbot/duration.feature new file mode 100644 index 000000000..088f938d6 --- /dev/null +++ b/features/testbot/duration.feature @@ -0,0 +1,25 @@ +@routing @testbot @routes @duration +Feature: OSM Route Relation + + Background: + Given the profile "testbot" + + Scenario: Duration of ways + Given the node map + | a | b | | | | + | | | | e | | + | | c | | | d | + + And the ways + | nodes | highway | duration | + | ab | primary | 0:01 | + | bc | primary | 0:10 | + | cd | primary | 1:00 | + | de | primary | 10:00 | + + When I route I should get + | from | to | route | distance | time | + | a | b | ab | 100m +-1 | 1s +-1 | + | b | c | bc | 200m +-1 | 10s +-1 | + | c | d | cd | 300m +-1 | 60s +-1 | + | d | e | de | 144m +-1 | 600s +-1 |