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

◆ are_not_equal_ignoring_case_

#define are_not_equal_ignoring_case_ (   ...)

#include <xtd.tunit/include/xtd/tunit/string_assert.h>

Asserts that two type are not equal ignoring case.

Parameters
expectedthe expected value.
actualthe actual value.
messageAn optional user message to display if the assertion fails. This message can be seen in the unit test results.
Remarks
Contains information about current file and current line.
Can be used with xtd::tunit::string_assert, xtd::tunit::string_assume and xtd::tunit::string_valid classes.
Examples
xtd::tunit::string_assert::are_not_equal_ignoring_case_("key", xtd::string("VALUE")); // test ok.
xtd::tunit::string_assert::are_not_equal_ignoring_case_("value", xtd::string("VALUE"), "User message..."); // test error.
xtd::tunit::string_assume::are_not_equal_ignoring_case_("key", xtd::string("VALUE")); // test ok.
xtd::tunit::string_assume::are_not_equal_ignoring_case_("value", xtd::string("VALUE"), "User message..."); // test error.
xtd::tunit::string_valid::are_not_equal_ignoring_case_("key", xtd::string("VALUE")); // test ok.
xtd::tunit::string_valid::are_not_equal_ignoring_case_("value", xtd::string("VALUE"), "User message..."); // test error.
Represents text as a sequence of character units.
Definition basic_string.h:79