test forward/backward maxspeed (car)
This commit is contained in:
		
							parent
							
								
									86d7442a5f
								
							
						
					
					
						commit
						5339f440bd
					
				| @ -32,3 +32,26 @@ Feature: Car - Max speed restrictions | ||||
| 		 | from | to | route | time      | | ||||
| 		 | a    | b  | ab    | 144s ~10% | | ||||
| 		 | b    | c  | bc    | 144s ~10%  | | ||||
| 	 | ||||
| 	@oppposite @todo | ||||
| 	Scenario: Car - Forward/backward maxspeed | ||||
| 		Given the node map | ||||
| 		 | a | b | c | d | e | | ||||
| 
 | ||||
| 		And the ways | ||||
| 		 | nodes | highway | maxspeed:forward | maxspeed:backward | | ||||
| 		 | ab    | primary |                  |                   | | ||||
| 		 | bc    | primart | 18               | 9                 | | ||||
| 		 | cd    | primart |                  | 9                 | | ||||
| 		 | de    | primart | 9                |                   | | ||||
| 
 | ||||
| 		When I route I should get | ||||
| 		 | from | to | route | time | | ||||
| 		 | a    | b  | ab    | 10s  | | ||||
| 		 | b    | a  | ab    | 10s  | | ||||
| 		 | b    | c  | bc    | 20s  | | ||||
| 		 | c    | b  | bc    | 40s  | | ||||
| 		 | c    | d  | cd    | 10s  | | ||||
| 		 | d    | c  | cd    | 20s  | | ||||
| 		 | d    | e  | de    | 20s  | | ||||
| 		 | e    | d  | de    | 10s  | | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user