|
BitShift Validate 0.1.0
BitShift Validate API Reference Documentation
|
Macros | |
| #define | BV_TEST_SETUP(desc) |
| #define | BV_TEST_TEARDOWN(desc) |
| #define | BV_TEST(name, desc) |
| #define | BV_IGNORE |
| #define | BV_ASSERT_TRUE(expr) |
| #define | BV_ASSERT_FALSE(expr) |
| #define | BV_ASSERT_NULLPTR(expr) |
| #define | BV_ASSERT_EQUAL(lhs, rhs) |
| #define | BV_ASSERT_NOT_EQUAL(lhs, rhs) |
Describes the BitShift Validate assertion macros.
| #define BV_TEST_SETUP | ( | desc | ) |
Register a test setup function.
| desc | A description of the setup function. |
| #define BV_TEST_TEARDOWN | ( | desc | ) |
Register a test teardown function.
| desc | A description of the teardown function. |
| #define BV_TEST | ( | name, | |
| desc ) |
| #define BV_IGNORE |
Ignore a test.
| #define BV_ASSERT_TRUE | ( | expr | ) |
Assert a true value.
| expr | The expression to test. |
| #define BV_ASSERT_FALSE | ( | expr | ) |
Assert a false value.
| expr | The expression to test. |
| #define BV_ASSERT_NULLPTR | ( | expr | ) |
Assert a nullptr value.
| expr | The expression to test. |
| #define BV_ASSERT_EQUAL | ( | lhs, | |
| rhs ) |
Assert lhs is equal to rhs.
| lhs | The left-hand side expression to test. |
| rhs | The right-hand side expression to test. |
| #define BV_ASSERT_NOT_EQUAL | ( | lhs, | |
| rhs ) |
Assert lhs is not equal to rhs.
| lhs | The left-hand side expression to test. |
| rhs | The right-hand side expression to test. |