EqFailure()

System::TestPredicates::Details::EqFailure(const char *, const char *, T1&, T2&) function

Formats == assertion failure for output.

template<typename T1,typename T2> testing::AssertionResult System::TestPredicates::Details::EqFailure(const char *lhs_expr, const char *rhs_expr, T1 &lhs, T2 &rhs)

Template parameters

ParameterDescription
T1LHS value type.
T2RHS value type.

Arguments

ParameterTypeDescription
lhs_exprconst char *LHS expression.
rhs_exprconst char *RHS expression.
lhsT1&LHS value.
rhsT2&RHS value.

Return Value

Object wrapping failure text.

See Also