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
conditionThe condition to check is false.
Exceptions
xtd::tunit::abort_errorIf 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.
static void is_false(bool condition)
Assumes that ta condition is false.