2013-04-28 05:42:21 -04:00
|
|
|
@routing @bicycle @ref @name
|
|
|
|
Feature: Bike - Way ref
|
|
|
|
|
2013-08-29 13:29:13 -04:00
|
|
|
Background:
|
|
|
|
Given the profile "bicycle"
|
|
|
|
|
|
|
|
Scenario: Bike - Way with both name and ref
|
|
|
|
Given the node map
|
|
|
|
| a | b |
|
|
|
|
|
|
|
|
And the ways
|
|
|
|
| nodes | name | ref |
|
|
|
|
| ab | Utopia Drive | E7 |
|
|
|
|
|
|
|
|
When I route I should get
|
2016-03-31 19:25:08 -04:00
|
|
|
| from | to | route |
|
2016-04-29 07:27:12 -04:00
|
|
|
| a | b | Utopia Drive (E7),Utopia Drive (E7) |
|
2013-08-29 13:29:13 -04:00
|
|
|
|
|
|
|
Scenario: Bike - Way with only ref
|
|
|
|
Given the node map
|
|
|
|
| a | b |
|
|
|
|
|
|
|
|
And the ways
|
|
|
|
| nodes | name | ref |
|
|
|
|
| ab | | E7 |
|
|
|
|
|
|
|
|
When I route I should get
|
|
|
|
| from | to | route |
|
2016-03-31 19:25:08 -04:00
|
|
|
| a | b | E7,E7 |
|
2013-08-29 13:29:13 -04:00
|
|
|
|
|
|
|
Scenario: Bike - Way with only name
|
|
|
|
Given the node map
|
|
|
|
| a | b |
|
|
|
|
|
|
|
|
And the ways
|
|
|
|
| nodes | name |
|
|
|
|
| ab | Utopia Drive |
|
|
|
|
|
|
|
|
When I route I should get
|
2016-03-31 19:25:08 -04:00
|
|
|
| from | to | route |
|
|
|
|
| a | b | Utopia Drive,Utopia Drive |
|