Cucumber tests
This commit is contained in:
		
							parent
							
								
									ef308ac53a
								
							
						
					
					
						commit
						a49c6f433b
					
				| @ -40,6 +40,64 @@ Feature: Basic Map Matching | |||||||
|             | trace | timestamps | matchings | |             | trace | timestamps | matchings | | ||||||
|             | abcd  | 0 1 62 63  | ab,cd     | |             | abcd  | 0 1 62 63  | ab,cd     | | ||||||
| 
 | 
 | ||||||
|  |     Scenario: Testbot - Map matching with trace splitting suppression | ||||||
|  |         Given the query options | ||||||
|  |             | gaps | ignore | | ||||||
|  | 
 | ||||||
|  |         Given the node map | ||||||
|  |             """ | ||||||
|  |             a b c d | ||||||
|  |                 e | ||||||
|  |             """ | ||||||
|  | 
 | ||||||
|  |         And the ways | ||||||
|  |             | nodes | oneway | | ||||||
|  |             | abcd  | no     | | ||||||
|  | 
 | ||||||
|  |         When I match I should get | ||||||
|  |             | trace | timestamps | matchings | | ||||||
|  |             | abcd  | 0 1 62 63  | abcd      | | ||||||
|  | 
 | ||||||
|  |     Scenario: Testbot - Map matching with trace tidying. Clean case. | ||||||
|  |         Given a grid size of 100 meters | ||||||
|  | 
 | ||||||
|  |         Given the query options | ||||||
|  |             | tidying | true | | ||||||
|  | 
 | ||||||
|  |         Given the node map | ||||||
|  |             """ | ||||||
|  |             a b c d | ||||||
|  |                 e | ||||||
|  |             """ | ||||||
|  | 
 | ||||||
|  |         And the ways | ||||||
|  |             | nodes | oneway | | ||||||
|  |             | abcd  | no     | | ||||||
|  | 
 | ||||||
|  |         When I match I should get | ||||||
|  |             | trace | timestamps | matchings | | ||||||
|  |             | abcd | 0 10 20 30  | abcd      | | ||||||
|  | 
 | ||||||
|  |     Scenario: Testbot - Map matching with trace tidying. Dirty case. | ||||||
|  |         Given a grid size of 100 meters | ||||||
|  | 
 | ||||||
|  |         Given the query options | ||||||
|  |             | tidying | true | | ||||||
|  | 
 | ||||||
|  |         Given the node map | ||||||
|  |             """ | ||||||
|  |             a b c d | ||||||
|  |                 e | ||||||
|  |             """ | ||||||
|  | 
 | ||||||
|  |         And the ways | ||||||
|  |             | nodes | oneway | | ||||||
|  |             | abcd  | no     | | ||||||
|  | 
 | ||||||
|  |         When I match I should get | ||||||
|  |             | trace | timestamps    | matchings | | ||||||
|  |             | abacd | 0 10 12 20 30 | abcd      | | ||||||
|  | 
 | ||||||
|     Scenario: Testbot - Map matching with core factor |     Scenario: Testbot - Map matching with core factor | ||||||
|         Given the contract extra arguments "--core 0.8" |         Given the contract extra arguments "--core 0.8" | ||||||
|         Given the node map |         Given the node map | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user