@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 |