xtd 0.2.0
Loading...
Searching...
No Matches

◆ error() [1/3]

static void xtd::tunit::base_assert::error ( )
staticprotected

Throws an xtd::tunit::assert_error exception. This is used by the other assert functions.

Exceptions
xtd::tunit::assert_errorIf bad assertion.
Examples
xtd::tunit::assert::error(); // test throws an assert_error exception.
static void error()
Throws an xtd::tunit::assert_error exception. This is used by the other assert functions.
Examples
math_valid.cpp.