fixed values of test
This commit is contained in:
		
							parent
							
								
									8b62d04453
								
							
						
					
					
						commit
						ee3b296a99
					
				| @ -63,7 +63,12 @@ BOOST_AUTO_TEST_CASE(geometry_string) | |||||||
| 
 | 
 | ||||||
|     for(unsigned i = 0; i < cmp_coords.size(); ++i) |     for(unsigned i = 0; i < cmp_coords.size(); ++i) | ||||||
|     { |     { | ||||||
|         BOOST_CHECK_CLOSE(cmp_coords.at(i).lat, coords.at(i).lat, 0.0001); | 	const double cmp1_lat = coords.at(i).lat; | ||||||
|         BOOST_CHECK_CLOSE(cmp_coords.at(i).lon, coords.at(i).lon, 0.0001); | 	const double cmp2_lat = cmp_coords.at(i).lat; | ||||||
|  |         BOOST_CHECK_CLOSE(cmp1_lat, cmp2_lat, 0.0001); | ||||||
|  | 	 | ||||||
|  | 	const double cmp1_lon = coords.at(i).lon; | ||||||
|  | 	const double cmp2_lon = cmp_coords.at(i).lon; | ||||||
|  |         BOOST_CHECK_CLOSE(cmp1_lon, cmp2_lon, 0.0001); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user