|
@@ -1,35 +1,7 @@
|
|
#include "Test.hpp"
|
|
#include "Test.hpp"
|
|
|
|
+#include "Tests.hpp"
|
|
#include "core/utils/ArrayString.hpp"
|
|
#include "core/utils/ArrayString.hpp"
|
|
#include "core/utils/Utility.hpp"
|
|
#include "core/utils/Utility.hpp"
|
|
-#include "tests/ArrayListTests.hpp"
|
|
|
|
-#include "tests/ArrayStringTests.hpp"
|
|
|
|
-#include "tests/ArrayTests.hpp"
|
|
|
|
-#include "tests/BitArrayTests.hpp"
|
|
|
|
-#include "tests/BoxTests.hpp"
|
|
|
|
-#include "tests/BufferTests.hpp"
|
|
|
|
-#include "tests/BufferedValueTests.hpp"
|
|
|
|
-#include "tests/ClockTests.hpp"
|
|
|
|
-#include "tests/ColorTests.hpp"
|
|
|
|
-#include "tests/ComponentsTests.hpp"
|
|
|
|
-#include "tests/FileReaderTests.hpp"
|
|
|
|
-#include "tests/FrustumTests.hpp"
|
|
|
|
-#include "tests/HashMapTests.hpp"
|
|
|
|
-#include "tests/LinkedListTests.hpp"
|
|
|
|
-#include "tests/ListTests.hpp"
|
|
|
|
-#include "tests/MathTests.hpp"
|
|
|
|
-#include "tests/MatrixStackTests.hpp"
|
|
|
|
-#include "tests/MatrixTests.hpp"
|
|
|
|
-#include "tests/PlaneTests.hpp"
|
|
|
|
-#include "tests/ProbingHashMapTests.hpp"
|
|
|
|
-#include "tests/QuaternionTests.hpp"
|
|
|
|
-#include "tests/RandomTests.hpp"
|
|
|
|
-#include "tests/RingBufferTests.hpp"
|
|
|
|
-#include "tests/StackTests.hpp"
|
|
|
|
-#include "tests/ThreadTests.hpp"
|
|
|
|
-#include "tests/UniquePointerTests.hpp"
|
|
|
|
-#include "tests/UtilityTests.hpp"
|
|
|
|
-#include "tests/VectorTests.hpp"
|
|
|
|
-#include "tests/ViewTests.hpp"
|
|
|
|
|
|
|
|
static void onExit(int code, void* data) {
|
|
static void onExit(int code, void* data) {
|
|
unsigned int i = *static_cast<unsigned int*>(data);
|
|
unsigned int i = *static_cast<unsigned int*>(data);
|
|
@@ -41,35 +13,35 @@ static void onExit(int code, void* data) {
|
|
}
|
|
}
|
|
|
|
|
|
int main() {
|
|
int main() {
|
|
- Core::ArrayListTests::test();
|
|
|
|
- Core::ArrayStringTests::test();
|
|
|
|
- Core::ArrayTests::test();
|
|
|
|
- Core::BitArrayTests::test();
|
|
|
|
- Core::BoxTests::test();
|
|
|
|
- Core::BufferTests::test();
|
|
|
|
- Core::BufferedValueTests::test();
|
|
|
|
- Core::ClockTests::test();
|
|
|
|
- Core::ColorTests::test();
|
|
|
|
- Core::ComponentsTests::test();
|
|
|
|
- Core::FileReaderTests::test();
|
|
|
|
- Core::FrustumTests::test();
|
|
|
|
- Core::HashMapTests::test();
|
|
|
|
- Core::LinkedListTests::test();
|
|
|
|
- Core::ListTests::test();
|
|
|
|
- Core::MathTests::test();
|
|
|
|
- Core::MatrixStackTests::test();
|
|
|
|
- Core::MatrixTests::test();
|
|
|
|
- Core::PlaneTests::test();
|
|
|
|
- Core::ProbingHashMapTests::test();
|
|
|
|
- Core::QuaternionTests::test();
|
|
|
|
- Core::RandomTests::test();
|
|
|
|
- Core::RingBufferTests::test();
|
|
|
|
- Core::StackTests::test();
|
|
|
|
- Core::ThreadTests::test();
|
|
|
|
- Core::UniquePointerTests::test();
|
|
|
|
- Core::UtilityTests::test();
|
|
|
|
- Core::VectorTests::test();
|
|
|
|
- Core::ViewTests::test();
|
|
|
|
|
|
+ Core::testArrayList();
|
|
|
|
+ Core::testArrayString();
|
|
|
|
+ Core::testArray();
|
|
|
|
+ Core::testBitArray();
|
|
|
|
+ Core::testBox();
|
|
|
|
+ Core::testBuffer();
|
|
|
|
+ Core::testBufferedValue();
|
|
|
|
+ Core::testClock();
|
|
|
|
+ Core::testColor();
|
|
|
|
+ Core::testComponents();
|
|
|
|
+ Core::testFileReader();
|
|
|
|
+ Core::testFrustum();
|
|
|
|
+ Core::testHashMap();
|
|
|
|
+ Core::testLinkedList();
|
|
|
|
+ Core::testList();
|
|
|
|
+ Core::testMath();
|
|
|
|
+ Core::testMatrixStack();
|
|
|
|
+ Core::testMatrix();
|
|
|
|
+ Core::testPlane();
|
|
|
|
+ Core::testProbingHashMap();
|
|
|
|
+ Core::testQuaternion();
|
|
|
|
+ Core::testRandom();
|
|
|
|
+ Core::testRingBuffer();
|
|
|
|
+ Core::testStack();
|
|
|
|
+ Core::testThread();
|
|
|
|
+ Core::testUniquePointer();
|
|
|
|
+ Core::testUtility();
|
|
|
|
+ Core::testVector();
|
|
|
|
+ Core::testView();
|
|
|
|
|
|
unsigned int data = 123456789;
|
|
unsigned int data = 123456789;
|
|
Core::setExitHandler(onExit, &data);
|
|
Core::setExitHandler(onExit, &data);
|