Contains xtd::tunit::assert class.
- Copyright
- Copyright (c) 2024 Gammasoft. All rights reserved.
|
#define | abort_() |
| Abort current test. This is used by the other assert functions.
|
|
#define | are_equal_(...) |
| Asserts that two type are equal.
|
|
#define | are_not_equal_(...) |
| Asserts that two type are not equal.
|
|
#define | are_not_same_(...) |
| Asserts that two objects do refer to differents objects.
|
|
#define | are_same_(...) |
| Asserts that two objects do refer to same objects.
|
|
#define | contains_(...) |
| Asserts that collection contains an item.
|
|
#define | does_not_throw_(...) |
| Asserts that the staement does not throw an exception.
|
|
#define | fail_(...) |
| Throws an xtd::tunit::assert_error exception. This is used by the other assert functions.
|
|
#define | ignore_(...) |
| Ignore current test. This is used by the other assert functions.
|
|
#define | is_empty_(...) |
| Asserts that collection contains an item.
|
|
#define | is_false_(...) |
| Asserts that a condition is false.
|
|
#define | is_greater_(...) |
| Asserts that the first value is greater than the second value.
|
|
#define | is_greater_or_equal_(...) |
| Asserts that the first value is greater than or equal to the second value.
|
|
#define | is_instance_of_(type_t, ...) |
| Asserts that an object is of the type supplied or a derived type.
|
|
#define | is_less_(...) |
| Asserts that the first value is is_less than the second value.
|
|
#define | is_less_or_equal_(...) |
| Asserts that the first value is is_less than or equal to the second value.
|
|
#define | is_NaN_(...) |
| Asserts that a value is NaN.
|
|
#define | is_negative_(...) |
| Asserts that ta condition is negative.
|
|
#define | is_not_empty_(...) |
| Asserts that collection does not contain any item.
|
|
#define | is_not_instance_of_(type_t, ...) |
| Asserts that an object is not of the type supplied or a derived type.
|
|
#define | is_not_null_(...) |
| Asserts that the pointer is not null.
|
|
#define | is_not_zero_(...) |
| Asserts that ta condition is not zero.
|
|
#define | is_null_(...) |
| Asserts that the pointer is null.
|
|
#define | is_positive_(...) |
| Asserts that ta condition is positive.
|
|
#define | is_true_(...) |
| Asserts that a condition is true.
|
|
#define | is_zero_(...) |
| Asserts that ta condition is zero.
|
|
#define | succeed_(...) |
| Generates a success with a generic message. This is used by the other assert functions.
|
|
#define | throws_(exception_t, ...) |
| Asserts that the statement throws a particular exception when called.
|
|
#define | throws_any_(...) |
| Asserts that the staement does not throw an exception.
|
|