osrm-backend/features/foot/names.feature

39 lines
1010 B
Gherkin
Raw Normal View History

@routing @foot @names
Feature: Foot - Street names in instructions
Background:
Given the profile "foot"
Given a grid size of 200 meters
Scenario: Foot - A named street
Given the node map
2016-09-30 03:33:08 -04:00
"""
a b
c
"""
And the ways
| nodes | name | ref |
| ab | My Way | A6 |
| bc | Your Way | B7 |
When I route I should get
| from | to | route |
2016-09-05 09:01:51 -04:00
| a | c | My Way,Your Way,Your Way |
@unnamed
Scenario: Foot - No longer use way type to describe unnamed ways, see #3231
Given the node map
2016-09-30 03:33:08 -04:00
"""
a b c d
"""
And the ways
| nodes | highway | name |
| ab | footway | |
| bcd | track | |
When I route I should get
| from | to | route |
| a | d | , |