include/SDL_test_assert.h
changeset 9232 6ab4ae85c41e
parent 8820 0e935d5b193a
equal deleted inserted replaced
9231:ec22701132b5 9232:6ab4ae85c41e
    69  * \returns Returns the assertCondition so it can be used to externally to break execution flow if desired.
    69  * \returns Returns the assertCondition so it can be used to externally to break execution flow if desired.
    70  */
    70  */
    71 int SDLTest_AssertCheck(int assertCondition, SDL_PRINTF_FORMAT_STRING const char *assertDescription, ...) SDL_PRINTF_VARARG_FUNC(2);
    71 int SDLTest_AssertCheck(int assertCondition, SDL_PRINTF_FORMAT_STRING const char *assertDescription, ...) SDL_PRINTF_VARARG_FUNC(2);
    72 
    72 
    73 /**
    73 /**
    74  * \brief Explicitely pass without checking an assertion condition. Updates assertion counter.
    74  * \brief Explicitly pass without checking an assertion condition. Updates assertion counter.
    75  *
    75  *
    76  * \param assertDescription Message to log with the assert describing it.
    76  * \param assertDescription Message to log with the assert describing it.
    77  */
    77  */
    78 void SDLTest_AssertPass(SDL_PRINTF_FORMAT_STRING const char *assertDescription, ...) SDL_PRINTF_VARARG_FUNC(1);
    78 void SDLTest_AssertPass(SDL_PRINTF_FORMAT_STRING const char *assertDescription, ...) SDL_PRINTF_VARARG_FUNC(1);
    79 
    79