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

◆ are_not_equal() [4/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,
const xtd::diagnostics::stack_frame stack_frame 
)
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.
stack_frameContains information about current file and current line.
Examples
xtd::tunit::valid::are_not_equal(23, int(24), "User message...", csf_); // test ok.
xtd::tunit::valid::are_not_equal(24, int(24), "User message...", csf_); // 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
#define csf_
Provides information about the current stack frame.
Definition current_stack_frame.h:30