![]() |
tunit - Reference Guide
1.0.0
Modern c++17 unit testing framework on Windows, macOS, Linux, iOS and android.
|
The assert class contains a collection of static methods that implement the most common assertions used in tUnit. More...
#include <valid.h>
Static Public Member Functions | |
template<typename TExpected , typename TActual > | |
static void | are_equal (const TExpected &expected, const TActual &actual) |
Valids that two type are equal. More... | |
template<typename TExpected , typename TActual > | |
static void | are_equal (const TExpected &expected, const TActual &actual, const tunit::line_info &line_info) |
Valids that two type are equal. More... | |
template<typename TExpected , typename TActual > | |
static void | are_equal (const TExpected &expected, const TActual &actual, const std::string &message) |
Valids that two type are equal. More... | |
template<typename TExpected , typename TActual > | |
static void | are_equal (const TExpected &expected, const TActual &actual, const std::string &message, const tunit::line_info &line_info) |
Valids that two type are equal. More... | |
static void | are_equal (float expected, float actual, float tolerance) |
Valids that two type are equal. More... | |
static void | are_equal (float expected, float actual, float tolerance, const tunit::line_info &line_info) |
Valids that two type are equal. More... | |
static void | are_equal (float expected, float &actual, float tolerance, const std::string &message) |
Valids that two type are equal. More... | |
static void | are_equal (float expected, float actual, float tolerance, const std::string &message, const tunit::line_info &line_info) |
Valids that two type are equal. More... | |
static void | are_equal (double expected, double actual, double tolerance) |
Valids that two type are equal. More... | |
static void | are_equal (double expected, double actual, double tolerance, const tunit::line_info &line_info) |
Valids that two type are equal. More... | |
static void | are_equal (double expected, double actual, double tolerance, const std::string &message) |
Valids that two type are equal. More... | |
static void | are_equal (double expected, double actual, double tolerance, const std::string &message, const tunit::line_info &line_info) |
Valids that two type are equal. More... | |
static void | are_equal (long double expected, long double actual, long double tolerance) |
Valids that two type are equal. More... | |
static void | are_equal (long double expected, long double actual, long double tolerance, const tunit::line_info &line_info) |
Valids that two type are equal. More... | |
static void | are_equal (long double expected, long double actual, long double tolerance, const std::string &message) |
Valids that two type are equal. More... | |
static void | are_equal (long double expected, long double actual, long double tolerance, const std::string &message, const tunit::line_info &line_info) |
Valids that two type are equal. More... | |
template<typename TExpected , typename TActual > | |
static void | are_not_equal (const TExpected &expected, const TActual &actual) |
Valids that two type are not equal. More... | |
template<typename TExpected , typename TActual > | |
static void | are_not_equal (const TExpected &expected, const TActual &actual, const tunit::line_info &line_info) |
Valids that two type are not equal. More... | |
template<typename TExpected , typename TActual > | |
static void | are_not_equal (const TExpected &expected, const TActual &actual, const std::string &message) |
Valids that two type are not equal. More... | |
template<typename TExpected , typename TActual > | |
static void | are_not_equal (const TExpected &expected, const TActual &actual, const std::string &message, const tunit::line_info &line_info) |
Valids that two type are not equal. More... | |
template<typename TExpected , typename TActual > | |
static void | are_not_same (const TExpected &expected, const TActual &actual) |
Valids that two objects do refer to differents objects. More... | |
template<typename TExpected , typename TActual > | |
static void | are_not_same (const TExpected &expected, const TActual &actual, const tunit::line_info &line_info) |
Valids that two objects do refer to differents objects. More... | |
template<typename TExpected , typename TActual > | |
static void | are_not_same (const TExpected &expected, const TActual &actual, const std::string &message) |
Valids that two objects do refer to differents objects. More... | |
template<typename TExpected , typename TActual > | |
static void | are_not_same (const TExpected &expected, const TActual &actual, const std::string &message, const tunit::line_info &line_info) |
Valids that two objects do refer to differents objects. More... | |
template<typename TExpected , typename TActual > | |
static void | are_same (const TExpected &expected, const TActual &actual) |
Valids that two objects do refer to differents objects. More... | |
template<typename TExpected , typename TActual > | |
static void | are_same (const TExpected &expected, const TActual &actual, const tunit::line_info &line_info) |
Valids that two objects do refer to differents objects. More... | |
template<typename TExpected , typename TActual > | |
static void | are_same (const TExpected &expected, const TActual &actual, const std::string &message) |
Valids that two objects do refer to differents objects. More... | |
template<typename TExpected , typename TActual > | |
static void | are_same (const TExpected &expected, const TActual &actual, const std::string &message, const tunit::line_info &line_info) |
Valids that two objects do refer to differents objects. More... | |
template<typename TItem , typename TCollection > | |
static void | contains (const TItem &item, const TCollection &collection) |
Valids that collection contains an item. More... | |
template<typename TItem , typename TCollection > | |
static void | contains (const TItem &item, const TCollection &collection, const tunit::line_info &line_info) |
Valids that collection contains an item. More... | |
template<typename TItem , typename TCollection > | |
static void | contains (const TItem &item, const TCollection &collection, const std::string &message) |
Valids that collection contains an item. More... | |
template<typename TItem , typename TCollection > | |
static void | contains (const TItem &item, const TCollection &collection, const std::string &message, const tunit::line_info &line_info) |
Valids that collection contains an item. More... | |
static void | does_not_throw (const std::function< void()> &statement) |
Valids that the staement does not throw an exception. More... | |
static void | does_not_throw (const std::function< void()> &statement, const tunit::line_info &line_info) |
Valids that the staement does not throw an exception. More... | |
static void | does_not_throw (const std::function< void()> &statement, const std::string &message) |
Valids that the staement does not throw an exception. More... | |
static void | does_not_throw (const std::function< void()> &statement, const std::string &message, const tunit::line_info &line_info) |
Valids that the staement does not throw an exception. More... | |
template<typename TValue > | |
static void | is_empty (const TValue &value) |
Valids that collection contains an item. More... | |
template<typename TValue > | |
static void | is_empty (const TValue &value, const tunit::line_info &line_info) |
Valids that collection contains an item. More... | |
template<typename TValue > | |
static void | is_empty (const TValue &value, const std::string &message) |
Valids that collection contains an item. More... | |
template<typename TValue > | |
static void | is_empty (const TValue &value, const std::string &message, const tunit::line_info &line_info) |
Valids that collection contains an item. More... | |
template<typename TValue1 , typename TValue2 > | |
static void | is_greater_or_equal (const TValue1 &val1, const TValue2 &val2) |
Valids that the first value is greater than or equal to the second value. More... | |
template<typename TValue1 , typename TValue2 > | |
static void | is_greater_or_equal (const TValue1 &val1, const TValue2 &val2, const tunit::line_info &line_info) |
Valids that the first value is greater than or equal to the second value. More... | |
template<typename TValue1 , typename TValue2 > | |
static void | is_greater_or_equal (const TValue1 &val1, const TValue2 &val2, const std::string &message) |
Valids that the first value is greater than or equal to the second value. More... | |
template<typename TValue1 , typename TValue2 > | |
static void | is_greater_or_equal (const TValue1 &val1, const TValue2 &val2, const std::string &message, const tunit::line_info &line_info) |
Valids that the first value is greater than or equal to the second value. More... | |
template<typename Type , typename TValue > | |
static void | is_instance_of (const TValue &value) |
Valids that an object is of the type supplied or a derived type. More... | |
template<typename Type , typename TValue > | |
static void | is_instance_of (const TValue &value, const tunit::line_info &line_info) |
Valids that an object is of the type supplied or a derived type. More... | |
template<typename Type , typename TValue > | |
static void | is_instance_of (const TValue &value, const std::string &message) |
Valids that an object is of the type supplied or a derived type. More... | |
template<typename Type , typename TValue > | |
static void | is_instance_of (const TValue &value, const std::string &message, const tunit::line_info &line_info) |
Valids that an object is of the type supplied or a derived type. More... | |
template<typename TValue1 , typename TValue2 > | |
static void | is_less (const TValue1 &val1, const TValue2 &val2) |
Valids that the first value is is_less than the second value. More... | |
template<typename TValue1 , typename TValue2 > | |
static void | is_less (const TValue1 &val1, const TValue2 &val2, const tunit::line_info &line_info) |
Valids that the first value is is_less than the second value. More... | |
template<typename TValue1 , typename TValue2 > | |
static void | is_less (const TValue1 &val1, const TValue2 &val2, const std::string &message) |
Valids that the first value is is_less than the second value. More... | |
template<typename TValue1 , typename TValue2 > | |
static void | is_less (const TValue1 &val1, const TValue2 &val2, const std::string &message, const tunit::line_info &line_info) |
Valids that the first value is is_less than the second value. More... | |
template<typename TValue1 , typename TValue2 > | |
static void | is_less_or_equal (const TValue1 &val1, const TValue2 &val2) |
Valids that the first value is is_less than or equal to the second value. More... | |
template<typename TValue1 , typename TValue2 > | |
static void | is_less_or_equal (const TValue1 &val1, const TValue2 &val2, const tunit::line_info &line_info) |
Valids that the first value is is_less than or equal to the second value. More... | |
template<typename TValue1 , typename TValue2 > | |
static void | is_less_or_equal (const TValue1 &val1, const TValue2 &val2, const std::string &message) |
Valids that the first value is is_less than or equal to the second value. More... | |
template<typename TValue1 , typename TValue2 > | |
static void | is_less_or_equal (const TValue1 &val1, const TValue2 &val2, const std::string &message, const tunit::line_info &line_info) |
Valids that the first value is is_less than or equal to the second value. More... | |
static void | is_NaN (double value) |
that a value is NaN. More... | |
static void | is_NaN (double value, const tunit::line_info &line_info) |
that a value is NaN. More... | |
static void | is_NaN (double value, const std::string &message) |
Valids that a value is NaN. More... | |
static void | is_NaN (double value, const std::string &message, const tunit::line_info &line_info) |
Valids that a value is NaN. More... | |
static void | is_NaN (long double value) |
that a value is NaN. More... | |
static void | is_NaN (long double value, const tunit::line_info &line_info) |
that a value is NaN. More... | |
static void | is_NaN (long double value, const std::string &message) |
Valids that a value is NaN. More... | |
static void | is_NaN (long double value, const std::string &message, const tunit::line_info &line_info) |
Valids that a value is NaN. More... | |
static void | is_NaN (float value) |
that a value is NaN. More... | |
static void | is_NaN (float value, const tunit::line_info &line_info) |
that a value is NaN. More... | |
static void | is_NaN (float value, const std::string &message) |
Valids that a value is NaN. More... | |
static void | is_NaN (float value, const std::string &message, const tunit::line_info &line_info) |
Valids that a value is NaN. More... | |
template<typename TValue > | |
static void | is_negative (const TValue &value) |
Valids that ta condition is negative. More... | |
template<typename TValue > | |
static void | is_negative (const TValue &value, const tunit::line_info &line_info) |
Valids that ta condition is negative. More... | |
template<typename TValue > | |
static void | is_negative (const TValue &value, const std::string &message) |
Valids that ta condition is negative. More... | |
template<typename TValue > | |
static void | is_negative (const TValue &value, const std::string &message, const tunit::line_info &line_info) |
Valids that ta condition is negative. More... | |
template<typename TValue > | |
static void | is_not_empty (const TValue &value) |
Valids that collection oes not contain any item. More... | |
template<typename TValue > | |
static void | is_not_empty (const TValue &value, const tunit::line_info &line_info) |
Valids that collection does not contain any item. More... | |
template<typename TValue > | |
static void | is_not_empty (const TValue &value, const std::string &message) |
Valids that collection does not contain any item. More... | |
template<typename TValue > | |
static void | is_not_empty (const TValue &value, const std::string &message, const tunit::line_info &line_info) |
Valids that collection does not contain any item. More... | |
template<typename Type , typename TValue > | |
static void | is_not_instance_of (const TValue &value) |
Valids that an object is not of the type supplied or a derived type. More... | |
template<typename Type , typename TValue > | |
static void | is_not_instance_of (const TValue &value, const tunit::line_info &line_info) |
Valids that an object is not of the type supplied or a derived type. More... | |
template<typename Type , typename TValue > | |
static void | is_not_instance_of (const TValue &value, const std::string &message) |
Valids that an object is not of the type supplied or a derived type. More... | |
template<typename Type , typename TValue > | |
static void | is_not_instance_of (const TValue &value, const std::string &message, const tunit::line_info &line_info) |
Valids that an object is not of the type supplied or a derived type. More... | |
template<typename TPointer > | |
static void | is_not_null (const TPointer *pointer) |
Valids that the pointer is not null. More... | |
template<typename TPointer > | |
static void | is_not_null (const TPointer *pointer, const tunit::line_info &line_info) |
Valids that the pointer is not null. More... | |
template<typename TPointer > | |
static void | is_not_null (const TPointer *pointer, const std::string &message) |
Valids that the pointer is not null. More... | |
template<typename TPointer > | |
static void | is_not_null (const TPointer *pointer, const std::string &message, const tunit::line_info &line_info) |
Valids that the pointer is not null. More... | |
template<typename TPointer > | |
static void | is_not_null (const std::unique_ptr< TPointer > &pointer) |
Valids that the pointer is not null. More... | |
template<typename TPointer > | |
static void | is_not_null (const std::unique_ptr< TPointer > &pointer, const tunit::line_info &line_info) |
Valids that the pointer is not null. More... | |
template<typename TPointer > | |
static void | is_not_null (const std::unique_ptr< TPointer > &pointer, const std::string &message) |
Valids that the pointer is not null. More... | |
template<typename TPointer > | |
static void | is_not_null (const std::unique_ptr< TPointer > &pointer, const std::string &message, const tunit::line_info &line_info) |
Valids that the pointer is not null. More... | |
template<typename TPointer > | |
static void | is_not_null (const std::shared_ptr< TPointer > &pointer) |
Valids that the pointer is not null. More... | |
template<typename TPointer > | |
static void | is_not_null (const std::shared_ptr< TPointer > &pointer, const tunit::line_info &line_info) |
Valids that the pointer is not null. More... | |
template<typename TPointer > | |
static void | is_not_null (const std::shared_ptr< TPointer > &pointer, const std::string &message) |
Valids that the pointer is not null. More... | |
template<typename TPointer > | |
static void | is_not_null (const std::shared_ptr< TPointer > &pointer, const std::string &message, const tunit::line_info &line_info) |
Valids that the pointer is not null. More... | |
template<typename TPointer > | |
static void | is_not_null (const std::weak_ptr< TPointer > &pointer) |
Valids that the pointer is not null. More... | |
template<typename TPointer > | |
static void | is_not_null (const std::weak_ptr< TPointer > &pointer, const tunit::line_info &line_info) |
Valids that the pointer is not null. More... | |
template<typename TPointer > | |
static void | is_not_null (const std::weak_ptr< TPointer > &pointer, const std::string &message) |
Valids that the pointer is not null. More... | |
template<typename TPointer > | |
static void | is_not_null (const std::weak_ptr< TPointer > &pointer, const std::string &message, const tunit::line_info &line_info) |
Valids that the pointer is not null. More... | |
static void | is_not_null (std::nullptr_t pointer) |
Valids that the pointer is not null. More... | |
static void | is_not_null (std::nullptr_t pointer, const tunit::line_info &line_info) |
Valids that the pointer is not null. More... | |
static void | is_not_null (std::nullptr_t pointer, const std::string &message) |
Valids that the pointer is not null. More... | |
static void | is_not_null (std::nullptr_t pointer, const std::string &message, const tunit::line_info &line_info) |
Valids that the pointer is not null. More... | |
template<typename TValue > | |
static void | is_not_zero (const TValue &value) |
Valids that ta condition is not zero. More... | |
template<typename TValue > | |
static void | is_not_zero (const TValue &value, const tunit::line_info &line_info) |
Valids that ta condition is not zero. More... | |
template<typename TValue > | |
static void | is_not_zero (const TValue &value, const std::string &message) |
Valids that ta condition is not zero. More... | |
template<typename TValue > | |
static void | is_not_zero (const TValue &value, const std::string &message, const tunit::line_info &line_info) |
Valids that ta condition is not zero. More... | |
template<typename TPointer > | |
static void | is_null (const TPointer *pointer) |
Valids that the pointer is null. More... | |
template<typename TPointer > | |
static void | is_null (const TPointer *pointer, const tunit::line_info &line_info) |
Valids that the pointer is null. More... | |
template<typename TPointer > | |
static void | is_null (const TPointer *pointer, const std::string &message) |
Valids that the pointer is null. More... | |
template<typename TPointer > | |
static void | is_null (const TPointer *pointer, const std::string &message, const tunit::line_info &line_info) |
Valids that the pointer is null. More... | |
template<typename TPointer > | |
static void | is_null (const std::unique_ptr< TPointer > &pointer) |
Valids that the pointer is null. More... | |
template<typename TPointer > | |
static void | is_null (const std::unique_ptr< TPointer > &pointer, const tunit::line_info &line_info) |
Valids that the pointer is null. More... | |
template<typename TPointer > | |
static void | is_null (const std::unique_ptr< TPointer > &pointer, const std::string &message) |
Valids that the pointer is null. More... | |
template<typename TPointer > | |
static void | is_null (const std::unique_ptr< TPointer > &pointer, const std::string &message, const tunit::line_info &line_info) |
Valids that the pointer is null. More... | |
template<typename TPointer > | |
static void | is_null (const std::shared_ptr< TPointer > &pointer) |
Valids that the pointer is null. More... | |
template<typename TPointer > | |
static void | is_null (const std::shared_ptr< TPointer > &pointer, const tunit::line_info &line_info) |
Valids that the pointer is null. More... | |
template<typename TPointer > | |
static void | is_null (const std::shared_ptr< TPointer > &pointer, const std::string &message) |
Valids that the pointer is null. More... | |
template<typename TPointer > | |
static void | is_null (const std::shared_ptr< TPointer > &pointer, const std::string &message, const tunit::line_info &line_info) |
Valids that the pointer is null. More... | |
template<typename TPointer > | |
static void | is_null (const std::weak_ptr< TPointer > &pointer) |
Valids that the pointer is null. More... | |
template<typename TPointer > | |
static void | is_null (const std::weak_ptr< TPointer > &pointer, const tunit::line_info &line_info) |
Valids that the pointer is null. More... | |
template<typename TPointer > | |
static void | is_null (const std::weak_ptr< TPointer > &pointer, const std::string &message) |
Valids that the pointer is null. More... | |
template<typename TPointer > | |
static void | is_null (const std::weak_ptr< TPointer > &pointer, const std::string &message, const tunit::line_info &line_info) |
Valids that the pointer is null. More... | |
static void | is_null (std::nullptr_t pointer) |
Valids that the pointer is null. More... | |
static void | is_null (std::nullptr_t pointer, const tunit::line_info &line_info) |
Valids that the pointer is null. More... | |
static void | is_null (std::nullptr_t pointer, const std::string &message) |
Valids that the pointer is null. More... | |
static void | is_null (std::nullptr_t pointer, const std::string &message, const tunit::line_info &line_info) |
Valids that the pointer is null. More... | |
template<typename TValue > | |
static void | is_positive (const TValue &value) |
Valids that ta condition is positive. More... | |
template<typename TValue > | |
static void | is_positive (const TValue &value, const tunit::line_info &line_info) |
Valids that ta condition is positive. More... | |
template<typename TValue > | |
static void | is_positive (const TValue &value, const std::string &message) |
Valids that ta condition is positive. More... | |
template<typename TValue > | |
static void | is_positive (const TValue &value, const std::string &message, const tunit::line_info &line_info) |
Valids that ta condition is positive. More... | |
static void | is_true (bool condition) |
Valids that ta condition is true. More... | |
static void | is_true (bool condition, const tunit::line_info &line_info) |
Valids that a condition is true. More... | |
static void | is_true (bool condition, const std::string &message) |
Valids that a condition is true. More... | |
static void | is_true (bool condition, const std::string &message, const tunit::line_info &line_info) |
Valids that a condition is true. More... | |
template<typename TValue > | |
static void | is_zero (const TValue &value) |
Valids that ta condition is zero. More... | |
template<typename TValue > | |
static void | is_zero (const TValue &value, const tunit::line_info &line_info) |
Valids that ta condition is zero. More... | |
template<typename TValue > | |
static void | is_zero (const TValue &value, const std::string &message) |
Valids that ta condition is zero. More... | |
template<typename TValue > | |
static void | is_zero (const TValue &value, const std::string &message, const tunit::line_info &line_info) |
Valids that ta condition is zero. More... | |
template<typename TException > | |
static void | throws (const std::function< void()> &statement) |
Valids that the statement throws a particular exception when called. More... | |
template<typename TException > | |
static void | throws (const std::function< void()> &statement, const tunit::line_info &line_info) |
Valids that the statement throws a particular exception when called. More... | |
template<typename TException > | |
static void | throws (const std::function< void()> &statement, const std::string &message) |
Valids that the statement throws a particular exception when called. More... | |
template<typename TException > | |
static void | throws (const std::function< void()> &statement, const std::string &message, const tunit::line_info &line_info) |
Valids that the statement throws a particular exception when called. More... | |
static void | throws_any (const std::function< void()> &statement) |
Valids that the staement does not throw an exception. More... | |
static void | throws_any (const std::function< void()> &statement, const tunit::line_info &line_info) |
Valids that the staement does not throw an exception. More... | |
static void | throws_any (const std::function< void()> &statement, const std::string &message) |
Valids that the staement does not throw an exception. More... | |
static void | throws_any (const std::function< void()> &statement, const std::string &message, const tunit::line_info &line_info) |
Valids that the staement does not throw an exception. More... | |
Static Private Member Functions | |
static void | abort () |
Abort current test. More... | |
static void | abort (const tunit::line_info &line_info) |
Abort current test. More... | |
static void | abort (const std::string &message) |
Abort current test. More... | |
static void | abort (const std::string &message, const tunit::line_info &line_info) |
Abort current test. More... | |
static void | error () |
static void | error (const std::string &actual, const std::string &expected, const std::string &message, const tunit::line_info &line_info) |
static void | fail () |
Throws an tunit::assertion_error exception. More... | |
static void | fail (const tunit::line_info &line_info) |
Throws an tunit::assertion_error exception. More... | |
static void | fail (const std::string &message) |
Throws an tunit::assertion_error exception. More... | |
static void | fail (const std::string &message, const tunit::line_info &line_info) |
Throws an tunit::assertion_error exception. More... | |
static void | fail (const std::string &actual, const std::string &expected, const std::string &message, const tunit::line_info &line_info) |
static void | ignore () |
Ignore current test. More... | |
static void | ignore (const tunit::line_info &line_info) |
Ignore current test. More... | |
static void | ignore (const std::string &message) |
Ignore current test. More... | |
static void | ignore (const std::string &message, const tunit::line_info &line_info) |
Ignore current test. More... | |
template<typename TCollection > | |
static std::string | join_items (const TCollection &collection) |
static std::string | join_items (const std::string &str) |
static void | succeed () |
Generates a success with a generic message. More... | |
static void | succeed (const tunit::line_info &line_info) |
Generates a success with a generic message. More... | |
static void | succeed (const std::string &message) |
Generates a success with a generic message. More... | |
static void | succeed (const std::string &message, const tunit::line_info &line_info) |
Generates a success with a generic message. More... | |
template<typename TValue > | |
static std::string | to_string (const TValue &value) |
template<typename TValue > | |
static std::string | to_string (const TValue *value) |
The assert class contains a collection of static methods that implement the most common assertions used in tUnit.
|
inlinestatic |
Valids that two type are equal.
expected | the expected value. |
actual | the actual value. |
|
inlinestatic |
Valids that two type are equal.
expected | the expected value. |
actual | the actual value. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolelerance | Indicates a tolerance within which they will be considered as equal. |
|
inlinestatic |
Valids that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolelerance | Indicates a tolerance within which they will be considered as equal. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolelerance | 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 |
Valids that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolelerance | 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolelerance | Indicates a tolerance within which they will be considered as equal. |
|
inlinestatic |
Valids that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolelerance | Indicates a tolerance within which they will be considered as equal. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolelerance | 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 |
Valids that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolelerance | 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolelerance | Indicates a tolerance within which they will be considered as equal. |
|
inlinestatic |
Valids that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolelerance | Indicates a tolerance within which they will be considered as equal. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolelerance | 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 |
Valids that two type are equal.
expected | the expected value. |
actual | the actual value. |
tolelerance | 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that two type are not equal.
expected | the expected value. |
actual | the actual value. |
|
inlinestatic |
Valids that two type are not equal.
expected | the expected value. |
actual | the actual value. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that two objects do refer to differents objects.
expected | the expected value. |
actual | the actual value. |
|
inlinestatic |
Valids that two objects do refer to differents objects.
expected | the expected value. |
actual | the actual value. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that two objects do refer to differents 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 |
Valids that two objects do refer to differents 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that two objects do refer to differents objects.
expected | the expected value. |
actual | the actual value. |
|
inlinestatic |
Valids that two objects do refer to differents objects.
expected | the expected value. |
actual | the actual value. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that two objects do refer to differents 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 |
Valids that two objects do refer to differents 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that collection contains an item.
item | object to verify. |
collection | that contains object. |
|
inlinestatic |
Valids that collection contains an item.
item | object to verify. |
collection | that contains object. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that the staement does not throw an exception.
statement | The statement that verify. |
|
inlinestatic |
Valids that the staement does not throw an exception.
statement | The statement that verify. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that the staement 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 |
Valids that the staement 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that collection contains an item.
value | The value to check is empty. |
|
inlinestatic |
Valids that collection contains an item.
value | The value to check is empty. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that the first value is greater than or equal to the second value.
val1 | the first value. |
val2 | the second value. |
|
inlinestatic |
Valids that the first value is greater than or equal to the second value.
val1 | the first value. |
val2 | the second value. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that an object is of the type supplied or a derived type.
value | The object to verify |
|
inlinestatic |
Valids that an object is of the type supplied or a derived type.
value | The object to verify |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that the first value is is_less than the second value.
val1 | the first value. |
val2 | the second value. |
|
inlinestatic |
Valids that the first value is is_less than the second value.
val1 | the first value. |
val2 | the second value. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that the first value is is_less than or equal to the second value.
val1 | the first value. |
val2 | the second value. |
|
inlinestatic |
Valids that the first value is is_less than or equal to the second value.
val1 | the first value. |
val2 | the second value. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that ta condition is negative.
value | The value to check is negative. |
|
inlinestatic |
Valids that ta condition is negative.
value | The value to check is negative. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that collection oes not contain any item.
value | The value to check is empty. |
|
inlinestatic |
Valids that collection does not contain any item.
value | The value to check is empty. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that an object is not of the type supplied or a derived type.
value | The object to verify |
|
inlinestatic |
Valids that an object is not of the type supplied or a derived type.
value | The object to verify |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that the pointer is not null.
pointer | The pointer to check is null. |
|
inlinestatic |
Valids that the pointer is not null.
pointer | The pointer to check is null. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that the pointer is not null.
pointer | The pointer to check is null. |
|
inlinestatic |
Valids that the pointer is not null.
pointer | The pointer to check is null. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that the pointer is not null.
pointer | The pointer to check is null. |
|
inlinestatic |
Valids that the pointer is not null.
pointer | The pointer to check is null. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that the pointer is not null.
pointer | The pointer to check is null. |
|
inlinestatic |
Valids that the pointer is not null.
pointer | The pointer to check is null. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that the pointer is not null.
pointer | The pointer to check is null. |
|
inlinestatic |
Valids that the pointer is not null.
pointer | The pointer to check is null. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that ta condition is not zero.
value | The value to check is not zero. |
|
inlinestatic |
Valids that ta condition is not zero.
value | The value to check is not zero. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that the pointer is null.
pointer | The pointer to check is null. |
|
inlinestatic |
Valids that the pointer is null.
pointer | The pointer to check is null. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that the pointer is null.
pointer | The pointer to check is null. |
|
inlinestatic |
Valids that the pointer is null.
pointer | The pointer to check is null. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that the pointer is null.
pointer | The pointer to check is null. |
|
inlinestatic |
Valids that the pointer is null.
pointer | The pointer to check is null. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that the pointer is null.
pointer | The pointer to check is null. |
|
inlinestatic |
Valids that the pointer is null.
pointer | The pointer to check is null. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that the pointer is null.
pointer | The pointer to check is null. |
|
inlinestatic |
Valids that the pointer is null.
pointer | The pointer to check is null. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that ta condition is positive.
value | The value to check is positive. |
|
inlinestatic |
Valids that ta condition is positive.
value | The value to check is positive. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that ta condition is true.
condition | The condition to check is true. |
|
inlinestatic |
Valids that a condition is true.
condition | The condition to check is true. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that ta condition is zero.
value | The value to check is zero. |
|
inlinestatic |
Valids that ta condition is zero.
value | The value to check is zero. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids 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 |
Valids 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that the statement throws a particular exception when called.
TException | The exception type that must be throw. |
statement | The statement that verify. |
|
inlinestatic |
Valids that the statement throws a particular exception when called.
TException | The exception type that must be throw. |
statement | The statement that verify. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that the statement throws a particular exception when called.
TException | 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 |
Valids that the statement throws a particular exception when called.
TException | 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. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that the staement does not throw an exception.
statement | The statement that verify. |
|
inlinestatic |
Valids that the staement does not throw an exception.
statement | The statement that verify. |
line_info | Contains information about current file and current line. |
|
inlinestatic |
Valids that the staement 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 |
Valids that the staement 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. |
line_info | Contains information about current file and current line. |