OmniSciDB  04ee39c94c
anonymous_namespace{GeoTypesTest.cpp} Namespace Reference

Functions

template<class T >
void compare_arrays (const std::vector< T > &a, const std::vector< T > &b)
 

Function Documentation

◆ compare_arrays()

template<class T >
void anonymous_namespace{GeoTypesTest.cpp}::compare_arrays ( const std::vector< T > &  a,
const std::vector< T > &  b 
)

Definition at line 27 of file GeoTypesTest.cpp.

Referenced by TEST().

27  {
28  ASSERT_EQ(a.size(), b.size());
29  for (size_t i = 0; i < a.size(); i++) {
30  ASSERT_NEAR(a[i], b[i], 1e-7);
31  }
32 }
+ Here is the caller graph for this function: