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

◆ is_less() [3/4]

template<typename value1_t , typename value2_t >
static void xtd::tunit::valid::is_less ( const value1_t &  val1,
const value2_t &  val2,
const xtd::string message 
)
inlinestatic

Validates that the first value is is_less than the second value.

Parameters
val1the first value.
val2the second value.
messageA user message to display if the assertion fails. This message can be seen in the unit test results.
Examples
xtd::tunit::valid::is_less(24, 48, "User message..."); // test ok.
xtd::tunit::valid::is_less(24, 12, "User message..."); // test fails.
static void is_less(const value1_t &val1, const value2_t &val2)
Validates that the first value is is_less than the second value.
Definition valid.h:886