References: - https://github.com/Project-OSRM/osrm-text-instructions/issues/62#issuecomment-257889721 - https://github.com/Project-OSRM/osrm-text-instructions/pull/63
		
			
				
	
	
		
			34 lines
		
	
	
		
			999 B
		
	
	
	
		
			Gherkin
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			999 B
		
	
	
	
		
			Gherkin
		
	
	
	
	
	
@routing @bicycle @mode
 | 
						|
Feature: Bike - Mode flag
 | 
						|
 | 
						|
    Background:
 | 
						|
        Given the profile "bicycle"
 | 
						|
        Given a grid size of 5 meters
 | 
						|
 | 
						|
    Scenario: Bike Sliproad
 | 
						|
        Given the node map
 | 
						|
            """
 | 
						|
                  i
 | 
						|
            a b - c-d
 | 
						|
                ` |
 | 
						|
                g-e-h
 | 
						|
                  |
 | 
						|
                  |
 | 
						|
                  f
 | 
						|
            """
 | 
						|
 | 
						|
        And the nodes
 | 
						|
            | node | highway         |
 | 
						|
            | c    | traffic_signals |
 | 
						|
 | 
						|
        And the ways
 | 
						|
            | nodes | highway   | name   | oneway:bicycle |
 | 
						|
            | abcd  | cycleway  | street |                |
 | 
						|
            | eb    | path      |        | yes            |
 | 
						|
            | icef  | tertiary  | road   |                |
 | 
						|
            | geh   | secondary | street |                |
 | 
						|
 | 
						|
        When I route I should get
 | 
						|
            | waypoints | route             | turns                               |
 | 
						|
            | a,f       | street,,road,road | depart,turn right,turn right,arrive |
 |