Runner can execute multiple test suites consecutively.
This commit is contained in:
parent
88d6f70285
commit
8e99f21e3f
3 changed files with 91 additions and 73 deletions
|
@ -56,12 +56,22 @@ void _TestCaseInit();
|
|||
int _TestCaseQuit();
|
||||
|
||||
/*!
|
||||
* todo add comment
|
||||
* Assert function. Tests if the expected value equals the actual value, then
|
||||
* the test assert succeeds, otherwise it fails and warns about it.
|
||||
*
|
||||
* \param expected Value user expects to have
|
||||
* \param actual The actual value of tested variable
|
||||
* \param message Message that will be printed if assert fails
|
||||
*/
|
||||
void AssertEquals(Uint32 expected, Uint32 actual, char *message, ...);
|
||||
|
||||
/*!
|
||||
* todo add comment
|
||||
* Assert function. Tests if the given condition is true. True in
|
||||
* this case means non-zero value. If the condition is true, the
|
||||
* assert passes, otherwise it fails.
|
||||
*
|
||||
* \param condition Condition which will be evaluated
|
||||
* \param message Message that will be printed if assert fails
|
||||
*/
|
||||
void AssertTrue(int condition, char *message, ...);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue