TTS_DISABLE_WARNING_PUSH \
TTS_DISABLE_WARNING_SHADOW \
std::cout << "[^] - For: " << ::tts::detail::current_test << "\n"; \
std::cout << "When : " << STORY << std::endl; \
for(int tts_section = 0, tts_count = 1; tts_section < tts_count; tts_count -= 0==tts_section++) \
for( tts::detail::only_once tts_only_once_setup{}; tts_only_once_setup; ) \
TTS_DISABLE_WARNING_POP \
Start a block of scoped environment.
#define TTS_MAIN
#include <tts/tts.hpp>
{
{
int i = 99;
{
i++;
}
{
i--;
}
}
};
#define TTS_CASE(ID)
Introduces a new test scenario and registers it into the current test driver.
Definition: case.hpp:147
#define TTS_EQUAL(LHS, RHS,...)
Performs equality comparison between two expressions.
Definition: relation.hpp:90
#define TTS_WHEN(STORY)
Start a block of scoped environment.
Definition: when.hpp:80
#define TTS_AND_THEN(...)
Add a scoped tests to current scoped environment.
Definition: when.hpp:144