do {\
const int expected_val = (expected);\
const int actual_val = (actual);\
::std::cout << "Value of: " #actual "\n"\
<< " Actual: " << actual_val << "\n"\
<< "Expected: " #expected "\n"\
<< "Which is: " << expected_val << "\n";\
::testing::internal::posix::Abort();\
}\
GTEST_API_ bool IsTrue(bool condition)
55#define GTEST_CHECK_INT_EQ_(expected, actual) \
56 do {\
57 const int expected_val = (expected);\
58 const int actual_val = (actual);\
59 if (::testing::internal::IsTrue(expected_val != actual_val)) {\
60 ::std::cout << "Value of: " #actual "\n"\
61 << " Actual: " << actual_val << "\n"\
62 << "Expected: " #expected "\n"\
63 << "Which is: " << expected_val << "\n";\
64 ::testing::internal::posix::Abort();\
65 }\
66 } while (::testing::internal::AlwaysFalse())