Main.cpp 1.6 KB

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