- moves collapse into a dedicated set of functions / files - make collapse scenarios distinct (slight performance cost) - reduce verbosity for short name segments (now actually working, was supposed to do so before)
		
			
				
	
	
		
			38 lines
		
	
	
		
			947 B
		
	
	
	
		
			Gherkin
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			947 B
		
	
	
	
		
			Gherkin
		
	
	
	
	
	
@routing @bicycle @names
 | 
						|
Feature: Bike - Street names in instructions
 | 
						|
 | 
						|
    Background:
 | 
						|
        Given the profile "bicycle"
 | 
						|
 | 
						|
    Scenario: Bike - A named street
 | 
						|
        Given the node map
 | 
						|
            """
 | 
						|
            a b
 | 
						|
              c
 | 
						|
            """
 | 
						|
 | 
						|
        And the ways
 | 
						|
            | nodes | name     | ref |
 | 
						|
            | ab    | My Way   | A6  |
 | 
						|
            | bc    | Your Way | A7  |
 | 
						|
 | 
						|
        When I route I should get
 | 
						|
            | from | to | route           | ref   |
 | 
						|
            | a    | c  | My Way,Your Way | A6,A7 |
 | 
						|
 | 
						|
    @unnamed
 | 
						|
    Scenario: Bike - No longer use way type to describe unnamed ways, see #3231
 | 
						|
        Given the node map
 | 
						|
            """
 | 
						|
            a b c d
 | 
						|
            """
 | 
						|
 | 
						|
        And the ways
 | 
						|
            | nodes | highway  | name |
 | 
						|
            | ab    | cycleway |      |
 | 
						|
            | bcd   | track    |      |
 | 
						|
 | 
						|
        When I route I should get
 | 
						|
            | from | to | route |
 | 
						|
            | a    | d  | ,     |
 |