]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/lib/test.qh
Uncrustify lib/*
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / test.qh
1 #ifndef TEST_H
2 #define TEST_H
3
4 #define TEST_Check(cond) \
5         do \
6         { \
7                 if (!(cond)) TEST_Fail( #cond); \
8         } \
9         while (0)
10
11 void TEST_OK();
12 void TEST_Fail(string cond);
13
14 float TEST_RunAll();
15 float TEST_Run(string test);
16 #endif