use signed slope to distinguish uphills and downhills

This commit is contained in:
Michael Krasnyk
2017-03-29 13:43:47 +02:00
parent e39dc3c464
commit 8f8df969a2
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -20,6 +20,6 @@ Feature: osrm-extract with a profile containing raster source
And the data has been saved to disk
When I run "osrm-extract {osm_file} -p {profile_file}"
Then stdout should contain "source loader"
Then stdout should contain "slope: 0.089906793627046"
Then stdout should contain "slope: 0.089906793627046"
Then stdout should contain "slope: 0.0899"
Then stdout should contain "slope: -0.0899"
And it should exit successfully