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

◆ succeed_

#define succeed_ (   ...)

#include <xtd.tunit/include/xtd/tunit/assert.h>

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

Parameters
messageAn optional user message to display if the assertion fails. This message can be seen in the unit test results.
Remarks
Contains information about current file and current line.
Can be used with xtd::tunit::assert, xtd::tunit::assume and xtd::tunit::valid classes.
Examples
xtd::tunit::assert::succeed("User message..."); // test ok.
xtd::tunit::assume::succeed("User message..."); // test ok.
xtd::tunit::valid::succeed("User message..."); // test ok.
static void succeed()
Generates a success with a generic message. This is used by the other assert functions.