From 2e6e3bf0b09de61be9595755cdce34465553ce02 Mon Sep 17 00:00:00 2001 From: Lauren Budorick Date: Thu, 31 Mar 2016 16:46:47 -0700 Subject: [PATCH] Update raster features to reflect not cutting off arrive instruction --- features/raster/weights.feature | 56 ++++++++++++++++----------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/features/raster/weights.feature b/features/raster/weights.feature index 1339bd249..ae782a722 100644 --- a/features/raster/weights.feature +++ b/features/raster/weights.feature @@ -35,12 +35,12 @@ Feature: Raster - weights When I run "osrm-extract {osm_base}.osm -p {profile}" And I run "osrm-contract {osm_base}.osm" And I route I should get - | from | to | route | speed | - | a | b | ab | 36 km/h | - | a | c | ab,bc | 36 km/h | - | b | c | bc | 36 km/h | - | a | d | ad | 36 km/h | - | d | c | dc | 36 km/h | + | from | to | route | speed | + | a | b | ab,ab | 36 km/h | + | a | c | ab,bc,bc | 36 km/h | + | b | c | bc,bc | 36 km/h | + | a | d | ad,ad | 36 km/h | + | d | c | dc,dc | 36 km/h | Scenario: Weighting based on raster sources Given the profile "rasterbot" @@ -48,17 +48,17 @@ Feature: Raster - weights Then stdout should contain "evaluating segment" And I run "osrm-contract {osm_base}.osm" And I route I should get - | from | to | route | speed | - | a | b | ab | 8 km/h | - | a | c | ad,dc | 15 km/h | - | b | c | bc | 8 km/h | - | a | d | ad | 15 km/h | - | d | c | dc | 15 km/h | - | d | e | de | 10 km/h | - | e | b | eb | 10 km/h | - | d | f | df | 15 km/h | - | f | b | fb | 7 km/h | - | d | b | de,eb | 10 km/h | + | from | to | route | speed | + | a | b | ab,ab | 8 km/h | + | a | c | ad,dc,dc | 15 km/h | + | b | c | bc,bc | 8 km/h | + | a | d | ad,ad | 15 km/h | + | d | c | dc,dc | 15 km/h | + | d | e | de,de | 10 km/h | + | e | b | eb,eb | 10 km/h | + | d | f | df,df | 15 km/h | + | f | b | fb,fb | 7 km/h | + | d | b | de,eb,eb | 10 km/h | Scenario: Weighting based on raster sources Given the profile "rasterbotinterp" @@ -66,14 +66,14 @@ Feature: Raster - weights Then stdout should contain "evaluating segment" And I run "osrm-contract {osm_base}.osm" And I route I should get - | from | to | route | speed | - | a | b | ab | 8 km/h | - | a | c | ad,dc | 15 km/h | - | b | c | bc | 8 km/h | - | a | d | ad | 15 km/h | - | d | c | dc | 15 km/h | - | d | e | de | 10 km/h | - | e | b | eb | 10 km/h | - | d | f | df | 15 km/h | - | f | b | fb | 7 km/h | - | d | b | de,eb | 10 km/h | + | from | to | route | speed | + | a | b | ab,ab | 8 km/h | + | a | c | ad,dc,dc | 15 km/h | + | b | c | bc,bc | 8 km/h | + | a | d | ad,ad | 15 km/h | + | d | c | dc,dc | 15 km/h | + | d | e | de,de | 10 km/h | + | e | b | eb,eb | 10 km/h | + | d | f | df,df | 15 km/h | + | f | b | fb,fb | 7 km/h | + | d | b | de,eb,eb | 10 km/h |