36 lines
		
	
	
		
			743 B
		
	
	
	
		
			Gherkin
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			743 B
		
	
	
	
		
			Gherkin
		
	
	
	
	
	
@routing @datastore @testbot
 | 
						|
Feature: Temporary tests related to osrm-datastore
 | 
						|
 | 
						|
    Background:
 | 
						|
        Given the profile "testbot"
 | 
						|
 | 
						|
    Scenario: Scenario ab
 | 
						|
        Given the node map
 | 
						|
            """
 | 
						|
            a b
 | 
						|
            """
 | 
						|
 | 
						|
        And the ways
 | 
						|
            | nodes |
 | 
						|
            | ab    |
 | 
						|
 | 
						|
        When I route I should get
 | 
						|
            | from | to | route |
 | 
						|
            | a    | b  | ab,ab |
 | 
						|
            | b    | a  | ab,ab |
 | 
						|
 | 
						|
    Scenario: Scenaria xy
 | 
						|
        Given the node map
 | 
						|
            """
 | 
						|
            x y
 | 
						|
            """
 | 
						|
 | 
						|
        And the ways
 | 
						|
            | nodes |
 | 
						|
            | xy    |
 | 
						|
 | 
						|
        When I route I should get
 | 
						|
            | from | to | route |
 | 
						|
            | x    | y  | xy,xy |
 | 
						|
            | y    | x  | xy,xy |
 |