move name test

This commit is contained in:
Emil Tin 2013-04-08 11:19:17 +02:00
parent 16cd822555
commit e3af8cb2e8
2 changed files with 21 additions and 21 deletions

View File

@ -100,20 +100,4 @@ Feature: Bike - Squares and other areas
| c | d | abcda |
| d | c | abcda |
| d | a | abcda |
| a | d | abcda |
@area @name @todo
Scenario: Bike - name on
Given the node map
| x | a | b | y |
| | d | c | |
And the ways
| nodes | highway | area |
| xaby | residential | |
| abcda | residential | yes |
When I route I should get
| from | to | route |
| x | y | xaby |
| y | x | xaby |
| a | d | abcda |

View File

@ -10,8 +10,8 @@ Feature: Bike - Street names in instructions
| | c |
And the ways
| nodes | name |
| ab | My Way |
| nodes | name |
| ab | My Way |
| bc | Your Way |
When I route I should get
@ -25,8 +25,24 @@ Feature: Bike - Street names in instructions
And the ways
| nodes | highway | name |
| ab | cycleway | |
| bcd | track | |
| bcd | track | |
When I route I should get
| from | to | route |
| a | d | cycleway,track |
| a | d | cycleway,track |
@area @names @todo
Scenario: Bike - name on streets overlapping an area
Given the node map
| x | a | b | y |
| | d | c | |
And the ways
| nodes | highway | area |
| xaby | residential | |
| abcda | residential | yes |
When I route I should get
| from | to | route |
| x | y | xaby |
| y | x | xaby |