36 #ifndef _SDL_test_assert_h
37 #define _SDL_test_assert_h
61 void SDLTest_Assert(
int assertCondition,
const char *assertDescription, ...);
int SDLTest_AssertCheck(int assertCondition, const char *assertDescription,...)
Assert for test cases that logs but does not break execution flow on failures. Updates assertion coun...
int SDLTest_AssertSummaryToTestResult()
Converts the current assert summary state to a test result.
void SDLTest_ResetAssertSummary()
Resets the assert summary counters to zero.
void SDLTest_Assert(int assertCondition, const char *assertDescription,...)
Assert that logs and break execution flow on failures.
void SDLTest_LogAssertSummary()
Logs summary of all assertions (total, pass, fail) since last reset as INFO or ERROR.
void SDLTest_AssertPass(const char *assertDescription,...)
Explicitely pass without checking an assertion condition. Updates assertion counter.