-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMainTest.cpp
More file actions
55 lines (48 loc) · 1.36 KB
/
MainTest.cpp
File metadata and controls
55 lines (48 loc) · 1.36 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#define UBER_TEST 1
#define PERFORMANCE_TEST 1
#include "stdlib/Stdlib.h"
//#include "math/EvaluatorTest.cpp"
#include "tests/memory/ChunkMemoryTest.cpp"
#include "tests/memory/RingMemoryTest.cpp"
#include "tests/memory/BufferMemoryTest.cpp"
#include "tests/memory/QueueTest.cpp"
#include "tests/stdlib/HashMapTest.cpp"
#include "tests/ui/UILayoutTest.cpp"
#include "tests/ui/UIThemeTest.cpp"
#include "tests/utils/BitUtilsTest.cpp"
#include "tests/utils/EndianUtilsTest.cpp"
#include "tests/utils/StringUtilsTest.cpp"
#include "tests/utils/MathUtilsTest.cpp"
#include "tests/utils/UtilsTest.cpp"
#include "tests/utils/TimeUtilsTest.cpp"
#include "tests/asset/AssetArchiveTest.cpp"
#include "tests/entity/voxel/VoxelWorldMapTest.cpp"
#include "tests/system/DRMTest.cpp"
#ifdef UBER_TEST
#ifdef main
#undef main
#endif
#endif
int main() {
TEST_HEADER();
rand_setup();
//MathEvaluatorTest();
MemoryChunkMemoryTest();
MemoryRingMemoryTest();
MemoryBufferMemoryTest();
QueueTest();
StdlibHashMapTest();
UIUILayoutTest();
UIUIThemeTest();
UtilsBitUtilsTest();
UtilsEndianUtilsTest();
UtilsStringUtilsTest();
UtilsMathUtilsTest();
UtilsUtilsTest();
UtilsTimeUtilsTest();
AssetArchiveTest();
VoxelWorldMapTest();
DRMTest();
TEST_FOOTER();
return _test_global_assert_error_count ? 1 : 0;
}