tts v2.3.0
The Tiny Test System
 
Loading...
Searching...
No Matches

◆ TTS_PASS

#define TTS_PASS (   Message)
Value:
do \
{ \
::tts::global_runtime.pass(); \
} while(0)

Force a passing test and display a message.

TTS - Tiny Test System Copyright : TTS Contributors & Maintainers SPDX-License-Identifier: BSL-1.0

Parameters
MessageA literal string to display as additional informations

Example

#define TTS_MAIN
#include <tts/tts.hpp>
TTS_CASE( "Check that forced pass passes" )
{
TTS_PASS("Forced success!!");
};
#define TTS_CASE(ID)
Introduces a new test scenario and registers it into the current test driver.
Definition: case.hpp:147
#define TTS_PASS(Message)
Force a passing test and display a message.
Definition: info.hpp:34