diff --git a/features/car/speed.feature b/features/car/speed.feature new file mode 100644 index 000000000..0b3ac9b72 --- /dev/null +++ b/features/car/speed.feature @@ -0,0 +1,25 @@ +@routing @car @speed +Feature: Car - speeds + + Background: + Given the profile "car" + And a grid size of 1000 meters + + @bug + Scenario: Car - speed of various way types + Then routability should be + | highway | oneway | bothw | + | motorway | no | 90 km/h | + | motorway_link | no | 75 km/h | + | trunk | no | 85 km/h | + | trunk_link | no | 70 km/h | + | primary | no | 65 km/h | + | primary_link | no | 60 km/h | + | secondary | no | 55 km/h | + | secondary_link | no | 50 km/h | + | tertiary | no | 40 km/h | + | tertiary_link | no | 30 km/h | + | unclassified | no | 25 km/h | + | residential | no | 25 km/h | + | living_street | no | 10 km/h | + | service | no | 15 km/h | diff --git a/features/step_definitions/routability.rb b/features/step_definitions/routability.rb index bb44a9ffc..d8a8a3945 100644 --- a/features/step_definitions/routability.rb +++ b/features/step_definitions/routability.rb @@ -34,7 +34,6 @@ def test_routability_row i result['bothw'][key] = 'diff' end end - result['bothw'][:response] = [result['forw'][:response],result['backw'][:response]] result end