| 19468 | typename T1, |
| 19469 | typename T2> |
| 19470 | AssertionResult AssertPred2Helper(const char* pred_text, |
| 19471 | const char* e1, |
| 19472 | const char* e2, |
| 19473 | Pred pred, |
| 19474 | const T1& v1, |
| 19475 | const T2& v2) { |
| 19476 | if (pred(v1, v2)) return AssertionSuccess(); |
| 19477 | |
| 19478 | return AssertionFailure() << pred_text << "(" |
| 19479 | << e1 << ", " |
| 19480 | << e2 << ") evaluates to false, where" |
| 19481 | << "\n" << e1 << " evaluates to " << v1 |
| 19482 | << "\n" << e2 << " evaluates to " << v2; |
| 19483 | } |
| 19484 | |
| 19485 | // Internal macro for implementing {EXPECT|ASSERT}_PRED_FORMAT2. |
| 19486 | // Don't use this in your code. |
nothing calls this directly
no test coverage detected