xtd
0.2.0
Loading...
Searching...
No Matches
◆
are_not_equal()
[2/4]
template<typename expected_t , typename actual_t >
static void xtd::tunit::valid::are_not_equal
(
const expected_t &
expected
,
const actual_t &
actual
,
const
xtd::diagnostics::stack_frame
&
stack_frame
)
inline
static
Validates that two type are not equal.
Parameters
expected
the expected value.
actual
the actual value.
stack_frame
Contains information about current file and current line.
Examples
xtd::tunit::valid::are_not_equal
(23,
int
(24),
csf_
);
// test ok.
xtd::tunit::valid::are_not_equal
(24,
int
(24),
csf_
);
// test fails.
xtd::tunit::valid::are_not_equal
static void are_not_equal(const expected_t &expected, const actual_t &actual)
Validates that two type are not equal.
Definition
valid.h:252
csf_
#define csf_
Provides information about the current stack frame.
Definition
current_stack_frame.h:30
xtd
tunit
valid
Generated on Sat Sep 14 2024 21:25:32 for xtd by
Gammasoft
. All rights reserved.