Main.cpp 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #include <iostream>
  2. #include "tests/ArrayTests.h"
  3. #include "tests/HashMapTests.h"
  4. #include "tests/ListTests.h"
  5. #include "tests/BitArrayTests.h"
  6. #include "tests/StringBufferTests.h"
  7. #include "tests/RandomTests.h"
  8. #include "tests/RingBufferTests.h"
  9. #include "tests/SplitStringTests.h"
  10. #include "tests/VectorTests.h"
  11. #include "tests/MatrixTests.h"
  12. #include "tests/StackTests.h"
  13. #include "tests/MatrixStackTests.h"
  14. #include "tests/PlaneTests.h"
  15. #include "tests/FrustumTests.h"
  16. #include "tests/QuaternionTests.h"
  17. #include "tests/UtilsTests.h"
  18. #include "tests/ColorTests.h"
  19. #include "tests/ClockTests.h"
  20. #include "tests/PNGReaderTests.h"
  21. #include "tests/BufferTests.h"
  22. #include "tests/StackAllocatorTests.h"
  23. #include "wrapper/Framebuffer.h"
  24. #include "rendering/FileTexture.h"
  25. int main(int argAmount, char** args) {
  26. if(argAmount < 2) {
  27. std::cout << "missing path to images\n";
  28. return 0;
  29. }
  30. ArrayTests::test();
  31. HashMapTests::test();
  32. ListTests::test();
  33. BitArrayTests::test();
  34. StringBufferTests::test();
  35. RandomTests::test();
  36. RingBufferTests::test();
  37. SplitStringTests::test();
  38. VectorTests::test();
  39. MatrixTests::test();
  40. StackTests::test();
  41. MatrixStackTests::test();
  42. PlaneTests::test();
  43. FrustumTests::test();
  44. QuaternionTests::test();
  45. UtilsTests::test();
  46. ColorTests::test();
  47. ClockTests::test();
  48. PNGReaderTests::test(args[1]);
  49. BufferTests::test();
  50. StackAllocatorTests::test();
  51. return 0;
  52. }