Merge pull request #245 from emiltin/cuke_profiles

speedprofiles specifically for testing
This commit is contained in:
Project OSRM
2012-05-08 02:17:27 -07:00
5 changed files with 63 additions and 6 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ end
def read_speedprofile profile
@speedprofile = {}
@speedprofile_str = nil
s = File.read "speedprofiles/#{profile}.ini"
s = File.read "test/speedprofiles/#{profile}.ini"
s.scan /(.*)=(.*)/ do |option|
@speedprofile[option[0].strip] = option[1].strip
end
+1 -5
View File
@@ -6,9 +6,6 @@ Feature: Estimation of travel time
Background: Use specific speeds
Given the speedprofile "bicycle"
And the speedprofile settings
| primary | 15 |
| footway | 5 |
Scenario: Basic travel time, 1m scale
Given a grid size of 1 meters
@@ -178,5 +175,4 @@ Feature: Estimation of travel time
| 1 | 4 | ab | 72s |
| 4 | 3 | ab | 24s |
| 4 | 2 | ab | 48s |
| 4 | 1 | ab | 72s |
| 4 | 1 | ab | 72s |