maxspeed:forward and :backward get parsed and tests pass. Implements

#569 partially.
This commit is contained in:
DennisOSRM
2013-02-04 15:58:35 +01:00
parent 2707001a3a
commit 54cdf6d6f2
4 changed files with 32 additions and 6 deletions
+1 -2
View File
@@ -32,13 +32,12 @@ Feature: Bike - Max speed restrictions
| a | b | ab | 20s ~5% |
| b | c | bc | 20s ~5% |
@todo
Scenario: Bike - Forward/backward maxspeed
Given the shortcuts
| key | value |
| bike | 43s ~10% |
| run | 73s ~10% |
| walk | 170s ~10% |
| walk | 145s ~10% |
| snail | 720s ~10% |
Then routability should be
+1 -2
View File
@@ -33,13 +33,12 @@ Feature: Car - Max speed restrictions
| a | b | ab | 144s ~10% |
| b | c | bc | 144s ~10% |
@todo
Scenario: Car - Forward/backward maxspeed
Given the shortcuts
| key | value |
| car | 12s ~10% |
| run | 73s ~10% |
| walk | 170s ~10% |
| walk | 146s ~10% |
| snail | 720s ~10% |
And a grid size of 100 meters