#include <iostream>
Go to the source code of this file.
◆ ASSERT
Value:do { \
if (x) { \
std::cout << "Test for: x:\033[34m pass\033[0m" << std::endl; \
} else { \
std::cout << "Test for: x:\033[31m fail\033[0m" << std::endl; \
} \
} while (0)
◆ ASSERT_EQ
| #define ASSERT_EQ |
( |
| x, |
|
|
| y ) |
Value:do { \
if (x == y) { \
std::cout << "Test for: x == y:\033[34m pass\033[0m" << std::endl; \
} else { \
std::cout << "Test for: x == y:\033[31m fail\033[0m" << std::endl; \
} \
} while (0)