Main.cpp 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. int main(int argAmount, char** args) {
  23. if(argAmount < 2) {
  24. std::cout << "missing path to images\n";
  25. return 0;
  26. }
  27. ArrayTests::test();
  28. HashMapTests::test();
  29. ListTests::test();
  30. BitArrayTests::test();
  31. StringBufferTests::test();
  32. RandomTests::test();
  33. RingBufferTests::test();
  34. SplitStringTests::test();
  35. VectorTests::test();
  36. MatrixTests::test();
  37. StackTests::test();
  38. MatrixStackTests::test();
  39. PlaneTests::test();
  40. FrustumTests::test();
  41. QuaternionTests::test();
  42. UtilsTests::test();
  43. ColorTests::test();
  44. ClockTests::test();
  45. PNGReaderTests::test(args[1]);
  46. BufferTests::test();
  47. return 0;
  48. }