2013-09-08 16:51:44 -04:00
|
|
|
@routing @foot @names
|
|
|
|
Feature: Foot - Street names in instructions
|
|
|
|
|
|
|
|
Background:
|
|
|
|
Given the profile "foot"
|
2017-02-15 09:12:24 -05:00
|
|
|
Given a grid size of 200 meters
|
2013-09-08 16:51:44 -04:00
|
|
|
|
|
|
|
Scenario: Foot - A named street
|
|
|
|
Given the node map
|
2016-09-30 03:33:08 -04:00
|
|
|
"""
|
|
|
|
a b
|
|
|
|
c
|
|
|
|
"""
|
2013-09-08 16:51:44 -04:00
|
|
|
|
|
|
|
And the ways
|
2016-04-29 07:27:12 -04:00
|
|
|
| nodes | name | ref |
|
2017-08-09 08:51:59 -04:00
|
|
|
| ab | My Way | |
|
|
|
|
| bc | | A7 |
|
2013-09-08 16:51:44 -04:00
|
|
|
|
|
|
|
When I route I should get
|
2017-08-09 08:51:59 -04:00
|
|
|
| from | to | route | ref |
|
|
|
|
| a | c | My Way,, | ,A7,A7 |
|
2022-07-30 18:14:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
Scenario: Foot - Combines named roads with suffix changes
|
|
|
|
Given the node map
|
|
|
|
"""
|
|
|
|
a b c d
|
|
|
|
"""
|
|
|
|
|
|
|
|
And the ways
|
|
|
|
| nodes | name |
|
|
|
|
| ab | High Street W |
|
|
|
|
| bc | High Street E |
|
|
|
|
| cd | Market Street |
|
|
|
|
|
|
|
|
When I route I should get
|
|
|
|
| from | to | route |
|
|
|
|
| a | d | High Street W,Market Street,Market Street |
|