xtd
0.2.0
Loading...
Searching...
No Matches
◆
are_equal()
[1/16]
template<typename expected_t , typename actual_t >
static void xtd::tunit::valid::are_equal
(
const expected_t &
expected
,
const actual_t &
actual
)
inline
static
Validates that two type are equal.
Parameters
expected
the expected value.
actual
the actual value.
Examples
xtd::tunit::valid::are_equal
(24,
int
(24));
// test ok.
xtd::tunit::valid::are_equal
(23,
int
(24));
// test fails.
xtd::tunit::valid::are_equal
static void are_equal(const expected_t &expected, const actual_t &actual)
Validates that two type are equal.
Definition
valid.h:40
xtd
tunit
valid
Generated on Sat Sep 14 2024 21:25:32 for xtd by
Gammasoft
. All rights reserved.