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
+38
View File
@@ -0,0 +1,38 @@
@routing @fastest
Feature: Choosing fastest route
Background:
Given the profile "testbot"
Scenario: Pick the geometrically shortest route, way types being equal
Given the node map
| | | s | | |
| | | t | | |
| x | a | | b | y |
And the ways
| nodes | highway |
| xa | primary |
| by | primary |
| atb | primary |
| asb | primary |
When I route I should get
| from | to | route |
| x | y | xa,atb,by |
| y | x | by,atb,xa |
Scenario: Pick the fastest route, even when it's longer
Given the node map
| | p | |
| a | s | b |
And the ways
| nodes | highway |
| apb | primary |
| asb | secondary |
When I route I should get
| from | to | route |
| a | b | apb |
| b | a | apb |