| 12560 | template <typename Pred, |
| 12561 | typename T1> |
| 12562 | AssertionResult AssertPred1Helper(const char* pred_text, |
| 12563 | const char* e1, |
| 12564 | Pred pred, |
| 12565 | const T1& v1) { |
| 12566 | if (pred(v1)) return AssertionSuccess(); |
| 12567 | |
| 12568 | return AssertionFailure() |
| 12569 | << pred_text << "(" << e1 << ") evaluates to false, where" |
| 12570 | << "\n" |
| 12571 | << e1 << " evaluates to " << ::testing::PrintToString(v1); |
| 12572 | } |
| 12573 | |
| 12574 | // Internal macro for implementing {EXPECT|ASSERT}_PRED_FORMAT1. |
| 12575 | // Don't use this in your code. |
nothing calls this directly
no test coverage detected