| 19426 | template <typename Pred, |
| 19427 | typename T1> |
| 19428 | AssertionResult AssertPred1Helper(const char* pred_text, |
| 19429 | const char* e1, |
| 19430 | Pred pred, |
| 19431 | const T1& v1) { |
| 19432 | if (pred(v1)) return AssertionSuccess(); |
| 19433 | |
| 19434 | return AssertionFailure() << pred_text << "(" |
| 19435 | << e1 << ") evaluates to false, where" |
| 19436 | << "\n" << e1 << " evaluates to " << v1; |
| 19437 | } |
| 19438 | |
| 19439 | // Internal macro for implementing {EXPECT|ASSERT}_PRED_FORMAT1. |
| 19440 | // Don't use this in your code. |
nothing calls this directly
no test coverage detected