Template Function container_equality
Defined in File t8_gtest_custom_assertion.hxx
Function Documentation
-
template<T8InputRange TContainer1, T8InputRange TContainer2>
static inline testing::AssertionResult container_equality(const char *container_1_expr, const char *container_2_expr, const char *precision_expr, const TContainer1 &container_1, const TContainer2 &container_2, const double precision) Test if two vectors are equal with respect to a given precision.
- Template Parameters:
TContainer1 – Type of the first container.
TContainer2 – Type of the second container.
- Parameters:
container_1_expr – [in] Name of the first container
container_2_expr – [in] Name of the second container
precision_expr – [in] Name of the precision
container_1 – [in] First container to compare
container_2 – [in] Second container to compare
precision – [in] Test equality up to this precision
- Returns:
testing::AssertionResult