xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.

◆ succeed() [3/4]

static void xtd::tunit::base_assert::succeed ( const std::string &  message)
inlinestatic

Generates a success with a generic message. This is used by the other Assert functions.

Parameters
messageA user message to display if the assertion fails. This message can be seen in the unit test results.
Examples
xtd::tunit::assert::succeed("User message..."); // test ok.