Function element_equality
Defined in File t8_gtest_custom_assertion.hxx
Function Documentation
-
testing::AssertionResult element_equality(const char *ts_expr, const char *tree_class_expr, const char *elem_1_expr, const char *elem_2_expr, const t8_scheme *scheme, const t8_eclass_t eclass, const t8_element_t *elem_1, const t8_element_t *elem_2)
Test two elements for equality and print the elements if they aren’t equal.
- Parameters:
ts_expr – [in] The name of the scheme
tree_class_expr – [in] The name of the tree class
elem_1_expr – [in] The name of the first element elem_1
elem_2_expr – [in] The name of the second element elem_2
scheme – [in] The scheme to use to check the equality
eclass – [in] The eclass of the tree the elements are part of
elem_1 – [in] The element to compare with elem_2
elem_2 – [in] the element to compare with elem_1
- Returns:
testing::AssertionResult