xtd
0.2.0
Loading...
Searching...
No Matches
◆
is_false()
[1/4]
static void xtd::tunit::assume::is_false
(
bool
condition
)
static
Assumes that ta condition is false.
Parameters
condition
The condition to check is false.
Exceptions
xtd::tunit::abort_error
If bad assertion.
Examples
std::string s1 =
"Anything"
;
std::string s2;
xtd::tunit::assume::is_false
(std::empty(s1));
// test ok.
xtd::tunit::assume::is_false
(std::empty(s2));
// test throws an abort_error exception.
xtd::tunit::assume::is_false
static void is_false(bool condition)
Assumes that ta condition is false.
xtd
tunit
assume
Generated on Sat Sep 14 2024 21:25:32 for xtd by
Gammasoft
. All rights reserved.