Merge pull request #245 from emiltin/cuke_profiles
speedprofiles specifically for testing
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 |
|
||||
Reference in New Issue
Block a user