xtd 0.2.0
Loading...
Searching...
No Matches

◆ are_not_equal() [3/4]

template<typename expected_t , typename actual_t >
static void xtd::tunit::valid::are_not_equal ( const expected_t &  expected,
const actual_t &  actual,
const xtd::string message 
)
inlinestatic

Validates that two type are not equal.

Parameters
expectedthe expected value.
actualthe actual value.
messageA user message to display if the assertion fails. This message can be seen in the unit test results.
Examples
xtd::tunit::valid::are_not_equal(23, int(24), "User message..."); // test ok.
xtd::tunit::valid::are_not_equal(24, int(24), "User message..."); // test fails.
static void are_not_equal(const expected_t &expected, const actual_t &actual)
Validates that two type are not equal.
Definition valid.h:252