MT Core (C++)
Core library for replacing C++ standard in project usage
|
Unit testing framework. More...
Namespaces | |
namespace | mttest |
MT Unit testing framework. | |
Macros | |
#define | TEST_CASE(SUITE, NAME) |
Defines a new test case. | |
#define | CHECK_EQ(...) |
Checks if two values are equal. | |
#define | CHECK_NE(...) |
Checks if two values are not equal. | |
#define | CHECK_LT(...) |
Checks if the left value is less than the right value. | |
#define | CHECK_LE(...) |
Checks if the left value is less than or equal to the right value. | |
#define | CHECK_GT(...) |
Checks if the left value is greater than the right value. | |
#define | CHECK_GE(...) |
Checks if the left value is greater than or equal to the right value. | |
Unit testing framework.
#define CHECK_EQ | ( | ... | ) |
Checks if two values are equal.
Definition at line 560 of file mttest.hpp.
#define CHECK_GE | ( | ... | ) |
Checks if the left value is greater than or equal to the right value.
Definition at line 585 of file mttest.hpp.
#define CHECK_GT | ( | ... | ) |
Checks if the left value is greater than the right value.
Definition at line 580 of file mttest.hpp.
#define CHECK_LE | ( | ... | ) |
Checks if the left value is less than or equal to the right value.
Definition at line 575 of file mttest.hpp.
#define CHECK_LT | ( | ... | ) |
Checks if the left value is less than the right value.
Definition at line 570 of file mttest.hpp.
#define CHECK_NE | ( | ... | ) |
Checks if two values are not equal.
Definition at line 565 of file mttest.hpp.
#define TEST_CASE | ( | SUITE, | |
NAME ) |
Defines a new test case.
SUITE | Test suite name (must be valid C++ variable name) |
NAME | Test case name (must be valid C++ variable name) |
Definition at line 345 of file mttest.hpp.