2013-09-08 16:51:44 -04:00
|
|
|
@routing @foot @ref @name
|
|
|
|
Feature: Foot - Way ref
|
|
|
|
|
|
|
|
Background:
|
|
|
|
Given the profile "foot"
|
|
|
|
|
|
|
|
Scenario: Foot - Way with both name and ref
|
|
|
|
Given the node map
|
2016-09-30 03:33:08 -04:00
|
|
|
"""
|
|
|
|
a b
|
|
|
|
"""
|
2013-09-08 16:51:44 -04:00
|
|
|
|
|
|
|
And the ways
|
|
|
|
| nodes | name | ref |
|
|
|
|
| ab | Utopia Drive | E7 |
|
|
|
|
|
|
|
|
When I route I should get
|
2016-11-08 06:55:32 -05:00
|
|
|
| from | to | route | ref |
|
|
|
|
| a | b | Utopia Drive,Utopia Drive | E7,E7 |
|
2013-09-08 16:51:44 -04:00
|
|
|
|
|
|
|
Scenario: Foot - Way with only ref
|
|
|
|
Given the node map
|
2016-09-30 03:33:08 -04:00
|
|
|
"""
|
|
|
|
a b
|
|
|
|
"""
|
2013-09-08 16:51:44 -04:00
|
|
|
|
|
|
|
And the ways
|
|
|
|
| nodes | name | ref |
|
|
|
|
| ab | | E7 |
|
|
|
|
|
|
|
|
When I route I should get
|
2016-11-08 06:55:32 -05:00
|
|
|
| from | to | route | ref |
|
|
|
|
| a | b | , | E7,E7 |
|
2013-09-08 16:51:44 -04:00
|
|
|
|
|
|
|
Scenario: Foot - Way with only name
|
|
|
|
Given the node map
|
2016-09-30 03:33:08 -04:00
|
|
|
"""
|
|
|
|
a b
|
|
|
|
"""
|
2013-09-08 16:51:44 -04:00
|
|
|
|
|
|
|
And the ways
|
|
|
|
| nodes | name |
|
|
|
|
| ab | Utopia Drive |
|
|
|
|
|
|
|
|
When I route I should get
|
2016-03-31 19:45:03 -04:00
|
|
|
| from | to | route |
|
|
|
|
| a | b | Utopia Drive,Utopia Drive |
|