You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.cpp 1.0KB

123456789101112131415161718192021222324252627282930313233343536
  1. #include "gtest/gtest.h"
  2. // ReSharper disable CppUnusedIncludeDirective
  3. #include "test_Basics.hpp"
  4. #include "test_Covariance.hpp"
  5. #include "test_Mean.hpp"
  6. #include "test_Median.hpp"
  7. #include "test_Misc.hpp"
  8. #include "test_Distance.hpp"
  9. #include "test_Geodesics.hpp"
  10. #include "test_Featurization.hpp"
  11. #include "test_Classifier.hpp"
  12. #include "test_MatrixClassifier.hpp"
  13. #include "test_ASR.hpp"
  14. // ReSharper restore CppUnusedIncludeDirective
  15. int main(int argc, char** argv)
  16. {
  17. try
  18. {
  19. //Code coverage tips (this functions are used only if tests failed)
  20. const size_t dumS = 0;
  21. const double dumD = 0;
  22. const Eigen::MatrixXd dumM = Eigen::MatrixXd::Identity(2, 2);
  23. const std::vector<int> dumV = { 0, 0 };
  24. const Geometry::CMatrixClassifierMDM dumC;
  25. ErrorMsg("", dumS, dumS);
  26. ErrorMsg("", dumD, dumD);
  27. ErrorMsg("", dumM, dumM);
  28. ErrorMsg("", dumV, dumV);
  29. ErrorMsg("", dumC, dumC);
  30. testing::InitGoogleTest(&argc, argv);
  31. return RUN_ALL_TESTS();
  32. }
  33. catch (std::exception&) { return 1; }
  34. }