update barrier tests
This commit is contained in:
		
							parent
							
								
									8b482e433a
								
							
						
					
					
						commit
						57d6af5486
					
				| @ -4,26 +4,39 @@ Feature: Barriers | |||||||
| 	Background: | 	Background: | ||||||
| 		Given the speedprofile "bicycle" | 		Given the speedprofile "bicycle" | ||||||
| 
 | 
 | ||||||
| 	Scenario: Barriers and bicycles | 	Scenario: Barriers  | ||||||
| 	 	Given the speedprofile "bicycle" |  | ||||||
| 		Then routability should be | 		Then routability should be | ||||||
| 		 | highway | node/barrier   | node/access   | bothw | | 		 | highway | node/barrier   | node/access   | bothw | | ||||||
| 		 | primary |                |               | x     | | 		 | primary |                |               | x     | | ||||||
|  | 		 | primary | gate           |               | x     | | ||||||
|  | 		 | primary | cattle_grid    |               | x     | | ||||||
|  | 		 | primary | border_control |               | x     | | ||||||
|  | 		 | primary | toll_booth     |               | x     | | ||||||
|  | 		 | primary | sally_port     |               | x     | | ||||||
| 		 | primary | bollard        |               | x     | | 		 | primary | bollard        |               | x     | | ||||||
| 		 | primary | gate           |               |       | | 		 | primary | some_tag       |               |       | | ||||||
| 		 | primary | cattle_grid    |               |       | | 
 | ||||||
| 		 | primary | border_control |               |       | | 	Scenario: Access tag trumphs barriers | ||||||
| 		 | primary | toll_booth     |               |       | | 		Then routability should be | ||||||
| 		 | primary | sally_port     |               |       | | 		 | highway | node/barrier   | node/access   | bothw | | ||||||
| 		 | primary | bollard        | yes           | x     | | 		 | primary | bollard        | yes           | x     | | ||||||
| 		 | primary | gate           | yes           | x     | | 		 | primary | gate           | yes           | x     | | ||||||
| 		 | primary | cattle_grid    | yes           | x     | | 		 | primary | cattle_grid    | yes           | x     | | ||||||
| 		 | primary | border_control | yes           | x     | | 		 | primary | border_control | yes           | x     | | ||||||
| 		 | primary | toll_booth     | yes           | x     | | 		 | primary | toll_booth     | yes           | x     | | ||||||
| 		 | primary | sally_port     | yes           | x     | | 		 | primary | sally_port     | yes           | x     | | ||||||
| 		 | primary | bollard        | motorcar      |       | | 		 | primary | bollard        | no            |       | | ||||||
| 		 | primary | bollard        | motor_vehicle |       | | 		 | primary | gate           | no            |       | | ||||||
| 		 | primary | bollard        | vehicle       | x     | | 		 | primary | cattle_grid    | no            |       | | ||||||
| 		 | primary | bollard        | motorcar      |       | | 		 | primary | border_control | no            |       | | ||||||
| 		 | primary | bollard        | permissive    | x     | | 		 | primary | toll_booth     | no            |       | | ||||||
| 		 | primary | bollard        | designated    | x     | | 		 | primary | sally_port     | no            |       | | ||||||
|  | 		 | primary | sally_port     | some_tag      |       | | ||||||
|  | 		 | primary | some_tag       | bicycle       | x     | | ||||||
|  | 		 | primary | some_tag       | foot          |       | | ||||||
|  | 		 | primary | some_tag       | motorcar      |       | | ||||||
|  | 		 | primary | some_tag       | motor_vehicle |       | | ||||||
|  | 		 | primary | some_tag       | vehicle       |       | | ||||||
|  | 		 | primary | some_tag       | motorcar      |       | | ||||||
|  | 		 | primary | some_tag       | permissive    |       | | ||||||
|  | 		 | primary | some_tag       | designated    |       | | ||||||
| @ -4,25 +4,39 @@ Feature: Barriers | |||||||
| 	Background: | 	Background: | ||||||
| 		Given the speedprofile "car" | 		Given the speedprofile "car" | ||||||
| 
 | 
 | ||||||
| 	Scenario: Barriers and cars | 	Scenario: Barriers  | ||||||
| 		Then routability should be | 		Then routability should be | ||||||
| 		 | highway | node/barrier   | node/access   | bothw | | 		 | highway | node/barrier   | node/access   | bothw | | ||||||
| 		 | primary |                |               | x     | | 		 | primary |                |               | x     | | ||||||
|  | 		 | primary | gate           |               | x     | | ||||||
|  | 		 | primary | cattle_grid    |               | x     | | ||||||
|  | 		 | primary | border_control |               | x     | | ||||||
|  | 		 | primary | toll_booth     |               | x     | | ||||||
|  | 		 | primary | sally_port     |               | x     | | ||||||
| 		 | primary | bollard        |               |       | | 		 | primary | bollard        |               |       | | ||||||
| 		 | primary | gate           |               |       | | 		 | primary | some_tag       |               |       | | ||||||
| 		 | primary | cattle_grid    |               |       | | 	 | ||||||
| 		 | primary | border_control |               |       | | 	Scenario: Access tag trumphs barriers | ||||||
| 		 | primary | toll_booth     |               |       | | 		Then routability should be | ||||||
| 		 | primary | sally_port     |               |       | | 		 | highway | node/barrier   | node/access   | bothw | | ||||||
| 		 | primary | bollard        | yes           | x     | | 		 | primary | bollard        | yes           | x     | | ||||||
| 		 | primary | gate           | yes           | x     | | 		 | primary | gate           | yes           | x     | | ||||||
| 		 | primary | cattle_grid    | yes           | x     | | 		 | primary | cattle_grid    | yes           | x     | | ||||||
| 		 | primary | border_control | yes           | x     | | 		 | primary | border_control | yes           | x     | | ||||||
| 		 | primary | toll_booth     | yes           | x     | | 		 | primary | toll_booth     | yes           | x     | | ||||||
| 		 | primary | sally_port     | yes           | x     | | 		 | primary | sally_port     | yes           | x     | | ||||||
|  | 		 | primary | bollard        | no            |       | | ||||||
|  | 		 | primary | gate           | no            |       | | ||||||
|  | 		 | primary | cattle_grid    | no            |       | | ||||||
|  | 		 | primary | border_control | no            |       | | ||||||
|  | 		 | primary | toll_booth     | no            |       | | ||||||
|  | 		 | primary | sally_port     | no            |       | | ||||||
|  | 		 | primary | sally_port     | some_tag      |       | | ||||||
|  | 		 | primary | bollard        | bicycle       |       | | ||||||
|  | 		 | primary | bollard        | foot          |       | | ||||||
| 		 | primary | bollard        | motorcar      | x     | | 		 | primary | bollard        | motorcar      | x     | | ||||||
| 		 | primary | bollard        | motor_vehicle | x     | | 		 | primary | bollard        | motor_vehicle | x     | | ||||||
| 		 | primary | bollard        | vehicle       | x     | | 		 | primary | bollard        | vehicle       | x     | | ||||||
| 		 | primary | bollard        | motorcar      | x     | | 		 | primary | bollard        | motorcar      | x     | | ||||||
| 		 | primary | bollard        | permissive    | x     | | 		 | primary | bollard        | permissive    | x     | | ||||||
| 		 | primary | bollard        | designated    | x     | | 		 | primary | bollard        | designated    | x     | | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user