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

◆ is_greater() [1/4]

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

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

Parameters
val1the first value.
val2the second value.
Examples
xtd::tunit::valid::is_greater(24, 12); // test ok.
xtd::tunit::valid::is_greater(24, 48); // test fails.
static void is_greater(const value1_t &val1, const value2_t &val2)
Validates that the first value is greater than the second value.
Definition valid.h:700