| 12709 | typename T3, |
| 12710 | typename T4> |
| 12711 | AssertionResult AssertPred4Helper(const char* pred_text, |
| 12712 | const char* e1, |
| 12713 | const char* e2, |
| 12714 | const char* e3, |
| 12715 | const char* e4, |
| 12716 | Pred pred, |
| 12717 | const T1& v1, |
| 12718 | const T2& v2, |
| 12719 | const T3& v3, |
| 12720 | const T4& v4) { |
| 12721 | if (pred(v1, v2, v3, v4)) return AssertionSuccess(); |
| 12722 | |
| 12723 | return AssertionFailure() |
| 12724 | << pred_text << "(" << e1 << ", " << e2 << ", " << e3 << ", " << e4 |
| 12725 | << ") evaluates to false, where" |
| 12726 | << "\n" |
| 12727 | << e1 << " evaluates to " << ::testing::PrintToString(v1) << "\n" |
| 12728 | << e2 << " evaluates to " << ::testing::PrintToString(v2) << "\n" |
| 12729 | << e3 << " evaluates to " << ::testing::PrintToString(v3) << "\n" |
| 12730 | << e4 << " evaluates to " << ::testing::PrintToString(v4); |
| 12731 | } |
| 12732 | |
| 12733 | // Internal macro for implementing {EXPECT|ASSERT}_PRED_FORMAT4. |
| 12734 | // Don't use this in your code. |
nothing calls this directly
no test coverage detected