From ec7d77df25636399632c49c4ee8013d3803d8236 Mon Sep 17 00:00:00 2001 From: Chi Min Yong Date: Sat, 9 Jan 2021 00:05:00 +0800 Subject: [PATCH] Update test --- nitro/src/test/Functions/test.cpp | 31 +++++++++++++++++++++++++++++++ nitro/src/test/test.cpp | 17 ----------------- 2 files changed, 31 insertions(+), 17 deletions(-) create mode 100644 nitro/src/test/Functions/test.cpp delete mode 100644 nitro/src/test/test.cpp diff --git a/nitro/src/test/Functions/test.cpp b/nitro/src/test/Functions/test.cpp new file mode 100644 index 0000000..b433ea4 --- /dev/null +++ b/nitro/src/test/Functions/test.cpp @@ -0,0 +1,31 @@ +#ifdef TEST + +#include "../Struct/Vector.test.h" +#include "math_ext.test.h" +#include "../Any/AnimatedAny.test.h" +#include "../Any/Reactive.test.h" +#include "../Functions/queue_ext.test.h" +#include "../Reactive/UnaryReactive.test.h" +#include "../Reactive/BinaryReactive.test.h" + +namespace ii887522::nitro +{ + static int main() + { + testVector(); + testMathExt(); + testAnimatedAny(); + testReactive(); + testQueueExt(); + testUnaryReactive(); + testBinaryReactive(); + return 0; + } +} + +int main() +{ + return ii887522::nitro::main(); +} + +#endif diff --git a/nitro/src/test/test.cpp b/nitro/src/test/test.cpp deleted file mode 100644 index 1496e06..0000000 --- a/nitro/src/test/test.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#ifdef TEST - -namespace ii887522::nitro -{ - static int main() - { - - return 0; - } -} - -int main() -{ - return ii887522::nitro::main(); -} - -#endif