osrm-backend/features/car/names.feature

34 lines
716 B
Gherkin
Raw Normal View History

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