osrm-backend/features/bicycle/names.feature

32 lines
694 B
Gherkin
Raw Normal View History

@routing @bicycle @names
2012-10-01 07:27:08 -04:00
Feature: Bike - Street names in instructions
Background:
Given the speedprofile "bicycle"
2012-10-01 07:27:08 -04:00
Scenario: Bike - A named street
Given the node map
| a | b |
| | c |
And the ways
| nodes | name |
| ab | My Way |
| bc | Your Way |
When I route I should get
| from | to | route |
| a | c | My Way,Your Way |
2012-10-01 07:27:08 -04:00
Scenario: Bike - 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 | cycleway | |
2012-12-10 07:08:26 -05:00
| bcd | track | |
When I route I should get
| from | to | route |
2012-12-10 07:08:26 -05:00
| a | d | cycleway,track |