xtd
0.2.0
Loading...
Searching...
No Matches
◆
is_less_or_equal()
[1/4]
template<typename value1_t , typename value2_t >
static void xtd::tunit::valid::is_less_or_equal
(
const value1_t &
val1
,
const value2_t &
val2
)
inline
static
Validates that the first value is is_less than or equal to the second value.
Parameters
val1
the first value.
val2
the second value.
Examples
xtd::tunit::valid::is_less_or_equal
(24, 48);
// test ok.
xtd::tunit::valid::is_less_or_equal
(24, 24);
// test ok.
xtd::tunit::valid::is_less_or_equal
(24, 12);
// test fails.
xtd::tunit::valid::is_less_or_equal
static void is_less_or_equal(const value1_t &val1, const value2_t &val2)
Validates that the first value is is_less than or equal to the second value.
Definition
valid.h:951
xtd
tunit
valid
Generated on Sat Sep 14 2024 21:25:32 for xtd by
Gammasoft
. All rights reserved.