X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=tests%2Fmain.cc;h=6016b3b511c6c2e707186bfe085c98f4526e0432;hb=1ee4f2d8184655e56afbeba5b9b7233539e79e24;hp=6dca3334a6d895e95b439b5f6b4eff02fd449801;hpb=267194caeb2fe56530b11c440fefd01c344e5482;p=libstick.git diff --git a/tests/main.cc b/tests/main.cc index 6dca333..6016b3b 100644 --- a/tests/main.cc +++ b/tests/main.cc @@ -3,6 +3,7 @@ #include "booleanmatrix.h" #include "simplicialcomplex.h" +#include "persistence.h" using namespace std; @@ -13,10 +14,13 @@ int main(int argc, char* argv[]) { Test::Suite ts; - ts.add(auto_ptr(new BooleanmatrixTestSuite)); - ts.add(auto_ptr(new SimplicialComplexTestSuite)); + ts.add(auto_ptr(new boolean_matrix_TestSuite)); + ts.add(auto_ptr(new simplicial_complex_TestSuite)); + ts.add(auto_ptr(new persistence_TestSuite)); Test::TextOutput output(Test::TextOutput::Verbose); - return ts.run(output); + if (ts.run(output)) + return EXIT_SUCCESS; + return EXIT_FAILURE; }