rename @weight test to @fastest

This commit is contained in:
Emil Tin 2013-01-04 19:03:15 +01:00
parent 00168cb12f
commit 565b0e97d1
2 changed files with 5 additions and 5 deletions

View File

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

View File

@ -1,5 +1,5 @@
@routing @weight @routing @fastest
Feature: Choosing route based on length, speed, etc Feature: Choosing fastest route
Background: Background:
Given the profile "testbot" Given the profile "testbot"
@ -22,7 +22,7 @@ Feature: Choosing route based on length, speed, etc
| x | y | xa,atb,by | | x | y | xa,atb,by |
| y | x | by,atb,xa | | 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 Given the node map
| | p | | | | p | |
| a | s | b | | a | s | b |