osrm-backend/features/car/names.feature

34 lines
955 B
Gherkin
Raw Normal View History

@routing @car @names
2012-10-01 07:27:08 -04:00
Feature: Car - Street names in instructions
2013-08-29 13:29:13 -04:00
Background:
Given the profile "car"
2013-08-29 13:29:13 -04:00
Scenario: Car - A named street
Given the node map
| a | b |
| | c |
2013-08-29 13:29:13 -04:00
And the ways
| nodes | name | ref |
| ab | My Way | |
| bc | Your Way | A1 |
2013-08-29 13:29:13 -04:00
When I route I should get
| from | to | route |
| a | c | My Way,Your Way (A1),Your Way (A1) |
2013-08-29 13:29:13 -04:00
@todo
Scenario: Car - Use way type to describe unnamed ways
Given the node map
| a | b | c | d |
And the ways
| nodes | highway | name |
| ab | tertiary | |
| bcd | residential | |
When I route I should get
| from | to | route |
| a | c | tertiary,residential,residential |