| 13960 | // The helper function for {ASSERT|EXPECT}_EQ. |
| 13961 | template <typename T1, typename T2> |
| 13962 | AssertionResult CmpHelperEQ(const char* lhs_expression, |
| 13963 | const char* rhs_expression, |
| 13964 | const T1& lhs, |
| 13965 | const T2& rhs) { |
| 13966 | if (lhs == rhs) { |
| 13967 | return AssertionSuccess(); |
| 13968 | } |
| 13969 | |
| 13970 | return CmpHelperEQFailure(lhs_expression, rhs_expression, lhs, rhs); |
| 13971 | } |
| 13972 | |
| 13973 | // With this overloaded version, we allow anonymous enums to be used |
| 13974 | // in {ASSERT|EXPECT}_EQ when compiled with gcc 4, as anonymous enums |
no test coverage detected