39 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Gherkin
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Gherkin
		
	
	
	
	
	
@routing @car @barrier
 | 
						|
Feature: Car - Barriers
 | 
						|
 | 
						|
	Background:
 | 
						|
		Given the speedprofile "car"
 | 
						|
 | 
						|
	Scenario: Car - Barriers 
 | 
						|
		Then routability should be
 | 
						|
		 | node/barrier   | bothw |
 | 
						|
		 |                | x     |
 | 
						|
		 | bollard        |       |
 | 
						|
		 | gate           | x     |
 | 
						|
		 | cattle_grid    | x     |
 | 
						|
		 | border_control | x     |
 | 
						|
		 | toll_booth     | x     |
 | 
						|
		 | sally_port     | x     |
 | 
						|
		 | entrance       |       |
 | 
						|
		 | wall           |       |
 | 
						|
		 | fence          |       |
 | 
						|
		 | some_tag       |       |
 | 
						|
 | 
						|
	Scenario: Car - Access tag trumphs barriers
 | 
						|
		Then routability should be
 | 
						|
		 | node/barrier | node/access   | bothw |
 | 
						|
		 | gate         |               | x     |
 | 
						|
		 | gate         | yes           | x     |
 | 
						|
		 | gate         | permissive    | x     |
 | 
						|
		 | gate         | designated    | x     |
 | 
						|
		 | gate         | no            |       |
 | 
						|
		 | gate         | private       |       |
 | 
						|
		 | gate         | agricultural  |       |
 | 
						|
		 | wall         |               |       |
 | 
						|
		 | wall         | yes           | x     |
 | 
						|
		 | wall         | permissive    | x     |
 | 
						|
		 | wall         | designated    | x     |
 | 
						|
		 | wall         | no            |       |
 | 
						|
		 | wall         | private       |       |
 | 
						|
		 | wall         | agricultural  |       |
 |