| 12603 | typename T1, |
| 12604 | typename T2> |
| 12605 | AssertionResult AssertPred2Helper(const char* pred_text, |
| 12606 | const char* e1, |
| 12607 | const char* e2, |
| 12608 | Pred pred, |
| 12609 | const T1& v1, |
| 12610 | const T2& v2) { |
| 12611 | if (pred(v1, v2)) return AssertionSuccess(); |
| 12612 | |
| 12613 | return AssertionFailure() |
| 12614 | << pred_text << "(" << e1 << ", " << e2 |
| 12615 | << ") evaluates to false, where" |
| 12616 | << "\n" |
| 12617 | << e1 << " evaluates to " << ::testing::PrintToString(v1) << "\n" |
| 12618 | << e2 << " evaluates to " << ::testing::PrintToString(v2); |
| 12619 | } |
| 12620 | |
| 12621 | // Internal macro for implementing {EXPECT|ASSERT}_PRED_FORMAT2. |
| 12622 | // Don't use this in your code. |
nothing calls this directly
no test coverage detected