several fixes to replace copied parameters with const refs.

This commit is contained in:
DennisOSRM 2013-01-06 13:00:58 +01:00
commit eed20b2271
2 changed files with 5 additions and 5 deletions

View File

@ -29,7 +29,7 @@ Feature: Distance calculation
When I route I should get
| from | to | route | distance |
| a | d | abcde | 300m +-8 |
| a | d | abcde | 300m +-2 |
Scenario: Distance should equal sum of segments, rightwinded
Given the node map
@ -43,7 +43,7 @@ Feature: Distance calculation
When I route I should get
| from | to | route | distance |
| a | d | abcde | 300m +-8 |
| a | d | abcde | 300m +-2 |
Scenario: 10m distances
Given a grid size of 10 meters

View File

@ -1,5 +1,5 @@
@routing @weight
Feature: Choosing route based on length, speed, etc
@routing @fastest
Feature: Choosing fastest route
Background:
Given the profile "testbot"
@ -22,7 +22,7 @@ Feature: Choosing route based on length, speed, etc
| x | y | xa,atb,by |
| y | x | by,atb,xa |
Scenario: Pick the shortest travel time, even when it's longer
Scenario: Pick the fastest route, even when it's longer
Given the node map
| | p | |
| a | s | b |