#include <stdlib.h>
#include <iostream>
#include "gtest/gtest.h"
#include "src/gtest-internal-inl.h"
◆ GTEST_CHECK_INT_EQ_
| #define GTEST_CHECK_INT_EQ_ |
( |
| expected, |
|
|
| actual ) |
Value: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();\
}\
bool AlwaysFalse()
Definition gtest-internal.h:736
GTEST_API_ bool IsTrue(bool condition)
Definition gtest.cc:4986
◆ GTEST_IMPLEMENTATION_
| #define GTEST_IMPLEMENTATION_ 1 |
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |