X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=tests%2Fmain.cc;h=6016b3b511c6c2e707186bfe085c98f4526e0432;hb=a440a674daf0140dc0fed2c6ed84d0fe04790159;hp=ef4977e8eb9110a80f69939a54516188eef54078;hpb=88ea14f1e9079c9b8c4af7aff01a3fe960e9472b;p=libstick.git diff --git a/tests/main.cc b/tests/main.cc index ef4977e..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; @@ -15,8 +16,11 @@ int main(int argc, char* argv[]) { 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; }