Main.cpp 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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/NetworkTests.h"
  16. #include "tests/PNGReaderTests.h"
  17. #include "tests/PlaneTests.h"
  18. #include "tests/QuaternionTests.h"
  19. #include "tests/RandomTests.h"
  20. #include "tests/RingBufferTests.h"
  21. #include "tests/SplitStringTests.h"
  22. #include "tests/StackTests.h"
  23. #include "tests/StringBufferTests.h"
  24. #include "tests/TypedBufferTests.h"
  25. #include "tests/UniquePointerTests.h"
  26. #include "tests/UtilsTests.h"
  27. #include "tests/VectorTests.h"
  28. int main(int argAmount, char** args) {
  29. if(argAmount < 2) {
  30. std::cout << "missing path to images\n";
  31. return 0;
  32. }
  33. ArrayTests::test();
  34. ArrayListTests::test();
  35. HashMapTests::test();
  36. ListTests::test();
  37. BitArrayTests::test();
  38. StringBufferTests::test();
  39. RandomTests::test();
  40. RingBufferTests::test();
  41. SplitStringTests::test();
  42. VectorTests::test();
  43. MatrixTests::test();
  44. StackTests::test();
  45. MatrixStackTests::test();
  46. PlaneTests::test();
  47. FrustumTests::test();
  48. QuaternionTests::test();
  49. UtilsTests::test();
  50. ColorTests::test();
  51. ClockTests::test();
  52. PNGReaderTests::test(args[1]);
  53. BufferTests::test();
  54. TypedBufferTests::test();
  55. UniquePointerTests::test();
  56. NetworkTests::test();
  57. return 0;
  58. }