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

@ -101,19 +101,3 @@ Feature: Bike - Squares and other areas
| d | c | abcda | | d | c | abcda |
| d | a | abcda | | d | a | abcda |
| a | d | 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 |

View File

@ -10,8 +10,8 @@ Feature: Bike - Street names in instructions
| | c | | | c |
And the ways And the ways
| nodes | name | | nodes | name |
| ab | My Way | | ab | My Way |
| bc | Your Way | | bc | Your Way |
When I route I should get When I route I should get
@ -25,8 +25,24 @@ Feature: Bike - Street names in instructions
And the ways And the ways
| nodes | highway | name | | nodes | highway | name |
| ab | cycleway | | | ab | cycleway | |
| bcd | track | | | bcd | track | |
When I route I should get When I route I should get
| from | to | route | | 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 |