blob: 2c91c422ed1085104d67bb3f8edf31dea7c0892a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef _SDL_test_assert_h
#define _SDL_test_assert_h
#include "begin_code.h"
#ifdef __cplusplus
extern "C" {
#endif
#define ASSERT_FAIL 0
#define ASSERT_PASS 1
void SDLTest_Assert(int assertCondition, const char *assertDescription, ...);
int SDLTest_AssertCheck(int assertCondition, const char *assertDescription, ...);
void SDLTest_AssertPass(const char *assertDescription, ...);
void SDLTest_ResetAssertSummary();
void SDLTest_LogAssertSummary();
int SDLTest_AssertSummaryToTestResult();
#ifdef __cplusplus
}
#endif
#include "close_code.h"
#endif
|