Main.cpp 1.3 KB

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