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

◆ report()

int tts::report ( std::ptrdiff_t  fails,
std::ptrdiff_t  invalids 
)
inline

Final tests handler customization point.

Aggregates test results and validate the whole test with respect to expect number of failures and invalid tests.

Parameters
failsNumber of expected failures.
invalidsNumber of expected invalid tests.
Returns
0 if all tests passed and 1 otherwise.