Fix some via tests
This commit is contained in:
		
							parent
							
								
									0a06641c2c
								
							
						
					
					
						commit
						6e2b4d3cc3
					
				@ -14,7 +14,7 @@ Feature: Via points
 | 
			
		||||
 | 
			
		||||
        When I route I should get
 | 
			
		||||
            | waypoints | route           |
 | 
			
		||||
            | a,b,c     | abc,abc |
 | 
			
		||||
            | a,b,c     | abc,abc,abc,abc |
 | 
			
		||||
 | 
			
		||||
    Scenario: Simple via point with core factor
 | 
			
		||||
        Given the contract extra arguments "--core 0.8"
 | 
			
		||||
@ -27,9 +27,9 @@ Feature: Via points
 | 
			
		||||
 | 
			
		||||
        When I route I should get
 | 
			
		||||
            | waypoints | route           |
 | 
			
		||||
            | a,b,c     | abc,abc |
 | 
			
		||||
            | c,b,a     | abc,abc |
 | 
			
		||||
            | c,b,a     | abc,abc |
 | 
			
		||||
            | a,b,c     | abc,abc,abc,abc |
 | 
			
		||||
            | c,b,a     | abc,abc,abc,abc |
 | 
			
		||||
            | c,b,a     | abc,abc,abc,abc |
 | 
			
		||||
 | 
			
		||||
    Scenario: Via point at a dead end
 | 
			
		||||
        Given the node map
 | 
			
		||||
@ -43,9 +43,10 @@ Feature: Via points
 | 
			
		||||
 | 
			
		||||
        When I route I should get
 | 
			
		||||
            | waypoints | route                   |
 | 
			
		||||
            | a,d,c     | abc,bd,bd,bd,abc |
 | 
			
		||||
            | c,d,a     | abc,bd,bd,bd,abc |
 | 
			
		||||
            | a,d,c     | abc,bd,bd,bd,bd,abc,abc |
 | 
			
		||||
            | c,d,a     | abc,bd,bd,bd,bd,abc,abc |
 | 
			
		||||
 | 
			
		||||
    @mokob
 | 
			
		||||
    Scenario: Multiple via points
 | 
			
		||||
        Given the node map
 | 
			
		||||
            | a |   |   |   | e | f | g |   |
 | 
			
		||||
@ -63,8 +64,8 @@ Feature: Via points
 | 
			
		||||
 | 
			
		||||
        When I route I should get
 | 
			
		||||
            | waypoints | route                    |
 | 
			
		||||
            | a,c,f     | ab,bcd,bcd,de,efg        |
 | 
			
		||||
            | a,c,f,h   | ab,bcd,bcd,de,efg,efg,gh |
 | 
			
		||||
            | a,c,f     | ab,bcd,bcd,bcd,de,efg,efg|
 | 
			
		||||
            | a,c,f,h   | ab,bcd,bcd,bcd,de,efg,efg,efg,gh,gh|
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    Scenario: Duplicate via point
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user