Don't use manual extract commands in weight tests
This commit is contained in:
parent
51bf9c4ff2
commit
6c7f0edf50
@ -32,9 +32,7 @@ Feature: Raster - weights
|
|||||||
|
|
||||||
Scenario: Weighting not based on raster sources
|
Scenario: Weighting not based on raster sources
|
||||||
Given the profile "testbot"
|
Given the profile "testbot"
|
||||||
When I run "osrm-extract {osm_file} -p {profile_file}"
|
When I route I should get
|
||||||
And I run "osrm-contract {processed_file}"
|
|
||||||
And I route I should get
|
|
||||||
| from | to | route | speed |
|
| from | to | route | speed |
|
||||||
| a | b | ab,ab | 36 km/h |
|
| a | b | ab,ab | 36 km/h |
|
||||||
| a | c | ab,bc,bc | 36 km/h |
|
| a | c | ab,bc,bc | 36 km/h |
|
||||||
@ -44,10 +42,7 @@ Feature: Raster - weights
|
|||||||
|
|
||||||
Scenario: Weighting based on raster sources
|
Scenario: Weighting based on raster sources
|
||||||
Given the profile "rasterbot"
|
Given the profile "rasterbot"
|
||||||
When I run "osrm-extract {osm_file} -p {profile_file}"
|
When I route I should get
|
||||||
Then stdout should contain "evaluating segment"
|
|
||||||
And I run "osrm-contract {processed_file}"
|
|
||||||
And I route I should get
|
|
||||||
| from | to | route | speed |
|
| from | to | route | speed |
|
||||||
| a | b | ab,ab | 8 km/h |
|
| a | b | ab,ab | 8 km/h |
|
||||||
| b | a | ab,ab | 22 km/h |
|
| b | a | ab,ab | 22 km/h |
|
||||||
@ -63,10 +58,7 @@ Feature: Raster - weights
|
|||||||
|
|
||||||
Scenario: Weighting based on raster sources
|
Scenario: Weighting based on raster sources
|
||||||
Given the profile "rasterbotinterp"
|
Given the profile "rasterbotinterp"
|
||||||
When I run "osrm-extract {osm_file} -p {profile_file}"
|
When I route I should get
|
||||||
Then stdout should contain "evaluating segment"
|
|
||||||
And I run "osrm-contract {processed_file}"
|
|
||||||
And I route I should get
|
|
||||||
| from | to | route | speed |
|
| from | to | route | speed |
|
||||||
| a | b | ab,ab | 8 km/h |
|
| a | b | ab,ab | 8 km/h |
|
||||||
| a | c | ad,dc,dc | 15 km/h |
|
| a | c | ad,dc,dc | 15 km/h |
|
||||||
|
Loading…
Reference in New Issue
Block a user