xtd - Reference Guide
0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
|
#include <valid.h>
The valid class contains a collection of static methods that implement the most common assertions used in xtd::tUnit.
Inherits xtd::tunit::base_assert.
Static Public Member Functions | |
template<typename expected_t , typename actual_t > | |
static void | are_equal (const expected_t &expected, const actual_t &actual) |
Validates that two type are equal. | |
template<typename expected_t , typename actual_t > | |
static void | are_equal (const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that two type are equal. | |
template<typename expected_t , typename actual_t > | |
static void | are_equal (const expected_t &expected, const actual_t &actual, const xtd::ustring &message) |
Validates that two type are equal. | |
template<typename expected_t , typename actual_t > | |
static void | are_equal (const expected_t &expected, const actual_t &actual, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that two type are equal. | |
static void | are_equal (double expected, double actual, double tolerance) |
Validates that two type are equal. | |
static void | are_equal (double expected, double actual, double tolerance, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that two type are equal. | |
static void | are_equal (double expected, double actual, double tolerance, const xtd::ustring &message) |
Validates that two type are equal. | |
static void | are_equal (double expected, double actual, double tolerance, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that two type are equal. | |
static void | are_equal (float expected, float &actual, float tolerance, const xtd::ustring &message) |
Validates that two type are equal. | |
static void | are_equal (float expected, float actual, float tolerance) |
Validates that two type are equal. | |
static void | are_equal (float expected, float actual, float tolerance, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that two type are equal. | |
static void | are_equal (float expected, float actual, float tolerance, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that two type are equal. | |
static void | are_equal (long double expected, long double actual, long double tolerance) |
Validates that two type are equal. | |
static void | are_equal (long double expected, long double actual, long double tolerance, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that two type are equal. | |
static void | are_equal (long double expected, long double actual, long double tolerance, const xtd::ustring &message) |
Validates that two type are equal. | |
static void | are_equal (long double expected, long double actual, long double tolerance, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that two type are equal. | |
template<typename expected_t , typename actual_t > | |
static void | are_not_equal (const expected_t &expected, const actual_t &actual) |
Validates that two type are not equal. | |
template<typename expected_t , typename actual_t > | |
static void | are_not_equal (const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that two type are not equal. | |
template<typename expected_t , typename actual_t > | |
static void | are_not_equal (const expected_t &expected, const actual_t &actual, const xtd::ustring &message) |
Validates that two type are not equal. | |
template<typename expected_t , typename actual_t > | |
static void | are_not_equal (const expected_t &expected, const actual_t &actual, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that two type are not equal. | |
template<typename expected_t , typename actual_t > | |
static void | are_not_same (const expected_t &expected, const actual_t &actual) |
Validates that two objects do refer to different objects. | |
template<typename expected_t , typename actual_t > | |
static void | are_not_same (const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that two objects do refer to different objects. | |
template<typename expected_t , typename actual_t > | |
static void | are_not_same (const expected_t &expected, const actual_t &actual, const xtd::ustring &message) |
Validates that two objects do refer to different objects. | |
template<typename expected_t , typename actual_t > | |
static void | are_not_same (const expected_t &expected, const actual_t &actual, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that two objects do refer to different objects. | |
template<typename expected_t , typename actual_t > | |
static void | are_same (const expected_t &expected, const actual_t &actual) |
Validates that two objects do refer to different objects. | |
template<typename expected_t , typename actual_t > | |
static void | are_same (const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that two objects do refer to different objects. | |
template<typename expected_t , typename actual_t > | |
static void | are_same (const expected_t &expected, const actual_t &actual, const xtd::ustring &message) |
Validates that two objects do refer to different objects. | |
template<typename expected_t , typename actual_t > | |
static void | are_same (const expected_t &expected, const actual_t &actual, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that two objects do refer to different objects. | |
template<typename item_t , typename collection_t > | |
static void | contains (const item_t &item, const collection_t &collection) |
Validates that collection contains an item. | |
template<typename item_t , typename collection_t > | |
static void | contains (const item_t &item, const collection_t &collection, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that collection contains an item. | |
template<typename item_t , typename collection_t > | |
static void | contains (const item_t &item, const collection_t &collection, const xtd::ustring &message) |
Validates that collection contains an item. | |
template<typename item_t , typename collection_t > | |
static void | contains (const item_t &item, const collection_t &collection, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that collection contains an item. | |
static void | does_not_throw (const std::function< void()> &statement) |
Validates that the statement does not throw an exception. | |
static void | does_not_throw (const std::function< void()> &statement, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the statement does not throw an exception. | |
static void | does_not_throw (const std::function< void()> &statement, const xtd::ustring &message) |
Validates that the statement does not throw an exception. | |
static void | does_not_throw (const std::function< void()> &statement, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the statement does not throw an exception. | |
template<typename value_t > | |
static void | is_empty (const value_t &value) |
Validates that collection contains an item. | |
template<typename value_t > | |
static void | is_empty (const value_t &value, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that collection contains an item. | |
template<typename value_t > | |
static void | is_empty (const value_t &value, const xtd::ustring &message) |
Validates that collection contains an item. | |
template<typename value_t > | |
static void | is_empty (const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that collection contains an item. | |
template<typename value1_t , typename value2_t > | |
static void | is_greater_or_equal (const value1_t &val1, const value2_t &val2) |
Validates that the first value is greater than or equal to the second value. | |
template<typename value1_t , typename value2_t > | |
static void | is_greater_or_equal (const value1_t &val1, const value2_t &val2, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the first value is greater than or equal to the second value. | |
template<typename value1_t , typename value2_t > | |
static void | is_greater_or_equal (const value1_t &val1, const value2_t &val2, const xtd::ustring &message) |
Validates that the first value is greater than or equal to the second value. | |
template<typename value1_t , typename value2_t > | |
static void | is_greater_or_equal (const value1_t &val1, const value2_t &val2, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the first value is greater than or equal to the second value. | |
template<typename type_t , typename value_t > | |
static void | is_instance_of (const value_t &value) |
Validates that an object is of the type supplied or a derived type. | |
template<typename type_t , typename value_t > | |
static void | is_instance_of (const value_t &value, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that an object is of the type supplied or a derived type. | |
template<typename type_t , typename value_t > | |
static void | is_instance_of (const value_t &value, const xtd::ustring &message) |
Validates that an object is of the type supplied or a derived type. | |
template<typename type_t , typename value_t > | |
static void | is_instance_of (const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that an object is of the type supplied or a derived type. | |
template<typename value1_t , typename value2_t > | |
static void | is_less (const value1_t &val1, const value2_t &val2) |
Validates that the first value is is_less than the second value. | |
template<typename value1_t , typename value2_t > | |
static void | is_less (const value1_t &val1, const value2_t &val2, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the first value is is_less than the second value. | |
template<typename value1_t , typename value2_t > | |
static void | is_less (const value1_t &val1, const value2_t &val2, const xtd::ustring &message) |
Validates that the first value is is_less than the second value. | |
template<typename value1_t , typename value2_t > | |
static void | is_less (const value1_t &val1, const value2_t &val2, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the first value is is_less than the second value. | |
template<typename value1_t , typename value2_t > | |
static void | is_less_or_equal (const value1_t &val1, const value2_t &val2) |
Validates that the first value is is_less than or equal to the second value. | |
template<typename value1_t , typename value2_t > | |
static void | is_less_or_equal (const value1_t &val1, const value2_t &val2, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the first value is is_less than or equal to the second value. | |
template<typename value1_t , typename value2_t > | |
static void | is_less_or_equal (const value1_t &val1, const value2_t &val2, const xtd::ustring &message) |
Validates that the first value is is_less than or equal to the second value. | |
template<typename value1_t , typename value2_t > | |
static void | is_less_or_equal (const value1_t &val1, const value2_t &val2, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the first value is is_less than or equal to the second value. | |
static void | is_NaN (double value) |
that a value is NaN. | |
static void | is_NaN (double value, const xtd::diagnostics::stack_frame &stack_frame) |
that a value is NaN. | |
static void | is_NaN (double value, const xtd::ustring &message) |
Validates that a value is NaN. | |
static void | is_NaN (double value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that a value is NaN. | |
static void | is_NaN (float value) |
that a value is NaN. | |
static void | is_NaN (float value, const xtd::diagnostics::stack_frame &stack_frame) |
that a value is NaN. | |
static void | is_NaN (float value, const xtd::ustring &message) |
Validates that a value is NaN. | |
static void | is_NaN (float value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that a value is NaN. | |
static void | is_NaN (long double value) |
that a value is NaN. | |
static void | is_NaN (long double value, const xtd::diagnostics::stack_frame &stack_frame) |
that a value is NaN. | |
static void | is_NaN (long double value, const xtd::ustring &message) |
Validates that a value is NaN. | |
static void | is_NaN (long double value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that a value is NaN. | |
template<typename value_t > | |
static void | is_negative (const value_t &value) |
Validates that ta condition is negative. | |
template<typename value_t > | |
static void | is_negative (const value_t &value, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that ta condition is negative. | |
template<typename value_t > | |
static void | is_negative (const value_t &value, const xtd::ustring &message) |
Validates that ta condition is negative. | |
template<typename value_t > | |
static void | is_negative (const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that ta condition is negative. | |
template<typename value_t > | |
static void | is_not_empty (const value_t &value) |
Validates that collection oes not contain any item. | |
template<typename value_t > | |
static void | is_not_empty (const value_t &value, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that collection does not contain any item. | |
template<typename value_t > | |
static void | is_not_empty (const value_t &value, const xtd::ustring &message) |
Validates that collection does not contain any item. | |
template<typename value_t > | |
static void | is_not_empty (const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that collection does not contain any item. | |
template<typename type_t , typename value_t > | |
static void | is_not_instance_of (const value_t &value) |
Validates that an object is not of the type supplied or a derived type. | |
template<typename type_t , typename value_t > | |
static void | is_not_instance_of (const value_t &value, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that an object is not of the type supplied or a derived type. | |
template<typename type_t , typename value_t > | |
static void | is_not_instance_of (const value_t &value, const xtd::ustring &message) |
Validates that an object is not of the type supplied or a derived type. | |
template<typename type_t , typename value_t > | |
static void | is_not_instance_of (const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that an object is not of the type supplied or a derived type. | |
template<typename pointer_t > | |
static void | is_not_null (const pointer_t *pointer) |
Validates that the pointer is not null. | |
template<typename pointer_t > | |
static void | is_not_null (const pointer_t *pointer, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is not null. | |
template<typename pointer_t > | |
static void | is_not_null (const pointer_t *pointer, const xtd::ustring &message) |
Validates that the pointer is not null. | |
template<typename pointer_t > | |
static void | is_not_null (const pointer_t *pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is not null. | |
template<typename pointer_t > | |
static void | is_not_null (const std::shared_ptr< pointer_t > &pointer) |
Validates that the pointer is not null. | |
template<typename pointer_t > | |
static void | is_not_null (const std::shared_ptr< pointer_t > &pointer, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is not null. | |
template<typename pointer_t > | |
static void | is_not_null (const std::shared_ptr< pointer_t > &pointer, const xtd::ustring &message) |
Validates that the pointer is not null. | |
template<typename pointer_t > | |
static void | is_not_null (const std::shared_ptr< pointer_t > &pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is not null. | |
template<typename pointer_t > | |
static void | is_not_null (const std::unique_ptr< pointer_t > &pointer) |
Validates that the pointer is not null. | |
template<typename pointer_t > | |
static void | is_not_null (const std::unique_ptr< pointer_t > &pointer, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is not null. | |
template<typename pointer_t > | |
static void | is_not_null (const std::unique_ptr< pointer_t > &pointer, const xtd::ustring &message) |
Validates that the pointer is not null. | |
template<typename pointer_t > | |
static void | is_not_null (const std::unique_ptr< pointer_t > &pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is not null. | |
template<typename pointer_t > | |
static void | is_not_null (const std::weak_ptr< pointer_t > &pointer) |
Validates that the pointer is not null. | |
template<typename pointer_t > | |
static void | is_not_null (const std::weak_ptr< pointer_t > &pointer, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is not null. | |
template<typename pointer_t > | |
static void | is_not_null (const std::weak_ptr< pointer_t > &pointer, const xtd::ustring &message) |
Validates that the pointer is not null. | |
template<typename pointer_t > | |
static void | is_not_null (const std::weak_ptr< pointer_t > &pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is not null. | |
static void | is_not_null (std::nullptr_t pointer) |
Validates that the pointer is not null. | |
static void | is_not_null (std::nullptr_t pointer, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is not null. | |
static void | is_not_null (std::nullptr_t pointer, const xtd::ustring &message) |
Validates that the pointer is not null. | |
static void | is_not_null (std::nullptr_t pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is not null. | |
template<typename value_t > | |
static void | is_not_zero (const value_t &value) |
Validates that ta condition is not zero. | |
template<typename value_t > | |
static void | is_not_zero (const value_t &value, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that ta condition is not zero. | |
template<typename value_t > | |
static void | is_not_zero (const value_t &value, const xtd::ustring &message) |
Validates that ta condition is not zero. | |
template<typename value_t > | |
static void | is_not_zero (const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that ta condition is not zero. | |
template<typename pointer_t > | |
static void | is_null (const pointer_t *pointer) |
Validates that the pointer is null. | |
template<typename pointer_t > | |
static void | is_null (const pointer_t *pointer, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is null. | |
template<typename pointer_t > | |
static void | is_null (const pointer_t *pointer, const xtd::ustring &message) |
Validates that the pointer is null. | |
template<typename pointer_t > | |
static void | is_null (const pointer_t *pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is null. | |
template<typename pointer_t > | |
static void | is_null (const std::shared_ptr< pointer_t > &pointer) |
Validates that the pointer is null. | |
template<typename pointer_t > | |
static void | is_null (const std::shared_ptr< pointer_t > &pointer, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is null. | |
template<typename pointer_t > | |
static void | is_null (const std::shared_ptr< pointer_t > &pointer, const xtd::ustring &message) |
Validates that the pointer is null. | |
template<typename pointer_t > | |
static void | is_null (const std::shared_ptr< pointer_t > &pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is null. | |
template<typename pointer_t > | |
static void | is_null (const std::unique_ptr< pointer_t > &pointer) |
Validates that the pointer is null. | |
template<typename pointer_t > | |
static void | is_null (const std::unique_ptr< pointer_t > &pointer, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is null. | |
template<typename pointer_t > | |
static void | is_null (const std::unique_ptr< pointer_t > &pointer, const xtd::ustring &message) |
Validates that the pointer is null. | |
template<typename pointer_t > | |
static void | is_null (const std::unique_ptr< pointer_t > &pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is null. | |
template<typename pointer_t > | |
static void | is_null (const std::weak_ptr< pointer_t > &pointer) |
Validates that the pointer is null. | |
template<typename pointer_t > | |
static void | is_null (const std::weak_ptr< pointer_t > &pointer, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is null. | |
template<typename pointer_t > | |
static void | is_null (const std::weak_ptr< pointer_t > &pointer, const xtd::ustring &message) |
Validates that the pointer is null. | |
template<typename pointer_t > | |
static void | is_null (const std::weak_ptr< pointer_t > &pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is null. | |
static void | is_null (std::nullptr_t pointer) |
Validates that the pointer is null. | |
static void | is_null (std::nullptr_t pointer, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is null. | |
static void | is_null (std::nullptr_t pointer, const xtd::ustring &message) |
Validates that the pointer is null. | |
static void | is_null (std::nullptr_t pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the pointer is null. | |
template<typename value_t > | |
static void | is_positive (const value_t &value) |
Validates that ta condition is positive. | |
template<typename value_t > | |
static void | is_positive (const value_t &value, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that ta condition is positive. | |
template<typename value_t > | |
static void | is_positive (const value_t &value, const xtd::ustring &message) |
Validates that ta condition is positive. | |
template<typename value_t > | |
static void | is_positive (const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that ta condition is positive. | |
static void | is_true (bool condition) |
Validates that ta condition is true. | |
static void | is_true (bool condition, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that a condition is true. | |
static void | is_true (bool condition, const xtd::ustring &message) |
Validates that a condition is true. | |
static void | is_true (bool condition, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that a condition is true. | |
template<typename value_t > | |
static void | is_zero (const value_t &value) |
Validates that ta condition is zero. | |
template<typename value_t > | |
static void | is_zero (const value_t &value, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that ta condition is zero. | |
template<typename value_t > | |
static void | is_zero (const value_t &value, const xtd::ustring &message) |
Validates that ta condition is zero. | |
template<typename value_t > | |
static void | is_zero (const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that ta condition is zero. | |
template<typename exception_t > | |
static void | throws (const std::function< void()> &statement) |
Validates that the statement throws a particular exception when called. | |
template<typename exception_t > | |
static void | throws (const std::function< void()> &statement, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the statement throws a particular exception when called. | |
template<typename exception_t > | |
static void | throws (const std::function< void()> &statement, const xtd::ustring &message) |
Validates that the statement throws a particular exception when called. | |
template<typename exception_t > | |
static void | throws (const std::function< void()> &statement, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the statement throws a particular exception when called. | |
static void | throws_any (const std::function< void()> &statement) |
Validates that the statement does not throw an exception. | |
static void | throws_any (const std::function< void()> &statement, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the statement does not throw an exception. | |
static void | throws_any (const std::function< void()> &statement, const xtd::ustring &message) |
Validates that the statement does not throw an exception. | |
static void | throws_any (const std::function< void()> &statement, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame) |
Validates that the statement does not throw an exception. | |
|
inlinestatic |
Validates that two type are equal.
expected | the expected value. |
actual | the actual value. |
|
inlinestatic |
Validates that two type are equal.
expected | the expected value. |
actual | the actual value. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that two type are equal.
expected | the expected value. |
actual | the actual value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that two type are equal.
expected | the expected value. |
actual | the actual value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolerance | Indicates a tolerance within which they will be considered as equal. |
|
inlinestatic |
Validates that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolerance | Indicates a tolerance within which they will be considered as equal. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolerance | Indicates a tolerance within which they will be considered as equal. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolerance | Indicates a tolerance within which they will be considered as equal. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolerance | Indicates a tolerance within which they will be considered as equal. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolerance | Indicates a tolerance within which they will be considered as equal. |
|
inlinestatic |
Validates that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolerance | Indicates a tolerance within which they will be considered as equal. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolerance | Indicates a tolerance within which they will be considered as equal. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolerance | Indicates a tolerance within which they will be considered as equal. |
|
inlinestatic |
Validates that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolerance | Indicates a tolerance within which they will be considered as equal. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolerance | Indicates a tolerance within which they will be considered as equal. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolerance | Indicates a tolerance within which they will be considered as equal. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that two type are not equal.
expected | the expected value. |
actual | the actual value. |
|
inlinestatic |
Validates that two type are not equal.
expected | the expected value. |
actual | the actual value. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that two type are not equal.
expected | the expected value. |
actual | the actual value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that two type are not equal.
expected | the expected value. |
actual | the actual value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that two objects do refer to different objects.
expected | the expected value. |
actual | the actual value. |
|
inlinestatic |
Validates that two objects do refer to different objects.
expected | the expected value. |
actual | the actual value. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that two objects do refer to different objects.
expected | the expected value. |
actual | the actual value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that two objects do refer to different objects.
expected | the expected value. |
actual | the actual value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that two objects do refer to different objects.
expected | the expected value. |
actual | the actual value. |
|
inlinestatic |
Validates that two objects do refer to different objects.
expected | the expected value. |
actual | the actual value. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that two objects do refer to different objects.
expected | the expected value. |
actual | the actual value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that two objects do refer to different objects.
expected | the expected value. |
actual | the actual value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that collection contains an item.
item | object to verify. |
collection | that contains object. |
|
inlinestatic |
Validates that collection contains an item.
item | object to verify. |
collection | that contains object. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that collection contains an item.
item | object to verify. |
collection | that contains object. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that collection contains an item.
item | object to verify. |
collection | that contains object. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the statement does not throw an exception.
statement | The statement that verify. |
|
inlinestatic |
Validates that the statement does not throw an exception.
statement | The statement that verify. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the statement does not throw an exception.
statement | The statement that verify. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that the statement does not throw an exception.
statement | The statement that verify. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that collection contains an item.
value | The value to check is empty. |
|
inlinestatic |
Validates that collection contains an item.
value | The value to check is empty. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that collection contains an item.
value | The value to check is empty. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that collection contains an item.
value | The value to check is empty. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the first value is greater than or equal to the second value.
val1 | the first value. |
val2 | the second value. |
|
inlinestatic |
Validates that the first value is greater than or equal to the second value.
val1 | the first value. |
val2 | the second value. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the first value is greater than or equal to the second value.
val1 | the first value. |
val2 | the second value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that the first value is greater than or equal to the second value.
val1 | the first value. |
val2 | the second value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that an object is of the type supplied or a derived type.
value | The object to verify |
|
inlinestatic |
Validates that an object is of the type supplied or a derived type.
value | The object to verify |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that an object is of the type supplied or a derived type.
value | The object to verify |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that an object is of the type supplied or a derived type.
value | The object to verify |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the first value is is_less than the second value.
val1 | the first value. |
val2 | the second value. |
|
inlinestatic |
Validates that the first value is is_less than the second value.
val1 | the first value. |
val2 | the second value. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the first value is is_less than the second value.
val1 | the first value. |
val2 | the second value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that the first value is is_less than the second value.
val1 | the first value. |
val2 | the second value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the first value is is_less than or equal to the second value.
val1 | the first value. |
val2 | the second value. |
|
inlinestatic |
Validates that the first value is is_less than or equal to the second value.
val1 | the first value. |
val2 | the second value. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the first value is is_less than or equal to the second value.
val1 | the first value. |
val2 | the second value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that the first value is is_less than or equal to the second value.
val1 | the first value. |
val2 | the second value. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
that a value is NaN.
value | The value to check is NaN. |
|
inlinestatic |
that a value is NaN.
value | The value to check is NaN. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that a value is NaN.
value | The value to check is NaN. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that a value is NaN.
value | The value to check is NaN. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
that a value is NaN.
value | The value to check is NaN. |
|
inlinestatic |
that a value is NaN.
value | The value to check is NaN. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that a value is NaN.
value | The value to check is NaN. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that a value is NaN.
value | The value to check is NaN. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
that a value is NaN.
value | The value to check is NaN. |
|
inlinestatic |
that a value is NaN.
value | The value to check is NaN. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that a value is NaN.
value | The value to check is NaN. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that a value is NaN.
value | The value to check is NaN. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that ta condition is negative.
value | The value to check is negative. |
|
inlinestatic |
Validates that ta condition is negative.
value | The value to check is negative. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that ta condition is negative.
value | The value to check is negative. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that ta condition is negative.
value | The value to check is negative. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that collection oes not contain any item.
value | The value to check is empty. |
|
inlinestatic |
Validates that collection does not contain any item.
value | The value to check is empty. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that collection does not contain any item.
value | The value to check is empty. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that collection does not contain any item.
value | The value to check is empty. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that an object is not of the type supplied or a derived type.
value | The object to verify |
|
inlinestatic |
Validates that an object is not of the type supplied or a derived type.
value | The object to verify |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that an object is not of the type supplied or a derived type.
value | The object to verify |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that an object is not of the type supplied or a derived type.
value | The object to verify |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that the pointer is not null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that ta condition is not zero.
value | The value to check is not zero. |
|
inlinestatic |
Validates that ta condition is not zero.
value | The value to check is not zero. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that ta condition is not zero.
value | The value to check is not zero. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that ta condition is not zero.
value | The value to check is not zero. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that the pointer is null.
pointer | The pointer to check is null. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that ta condition is positive.
value | The value to check is positive. |
|
inlinestatic |
Validates that ta condition is positive.
value | The value to check is positive. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that ta condition is positive.
value | The value to check is positive. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that ta condition is positive.
value | The value to check is positive. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that ta condition is true.
condition | The condition to check is true. |
|
inlinestatic |
Validates that a condition is true.
condition | The condition to check is true. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that a condition is true.
condition | The condition to check is true. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that a condition is true.
condition | The condition to check is true. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that ta condition is zero.
value | The value to check is zero. |
|
inlinestatic |
Validates that ta condition is zero.
value | The value to check is zero. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that ta condition is zero.
value | The value to check is zero. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that ta condition is zero.
value | The value to check is zero. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the statement throws a particular exception when called.
exception_t | The exception type that must be throw. |
statement | The statement that verify. |
|
inlinestatic |
Validates that the statement throws a particular exception when called.
exception_t | The exception type that must be throw. |
statement | The statement that verify. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the statement throws a particular exception when called.
exception_t | The exception type that must be throw. |
statement | The statement that verify. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that the statement throws a particular exception when called.
exception_t | The exception type that must be throw. |
statement | The statement that verify. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the statement does not throw an exception.
statement | The statement that verify. |
|
inlinestatic |
Validates that the statement does not throw an exception.
statement | The statement that verify. |
stack_frame | Contains information about current file and current line. |
|
inlinestatic |
Validates that the statement does not throw an exception.
statement | The statement that verify. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
|
inlinestatic |
Validates that the statement does not throw an exception.
statement | The statement that verify. |
message | A user message to display if the assertion fails. This message can be seen in the unit test results. |
stack_frame | Contains information about current file and current line. |