X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=tests%2Fmain.cc;h=60af1de7c4195786e3b6529325c3a5aadec7d992;hb=993da09e61bcf14e44cb9c0d6cfe624a67fa1bb9;hp=6dca3334a6d895e95b439b5f6b4eff02fd449801;hpb=267194caeb2fe56530b11c440fefd01c344e5482;p=libstick.git diff --git a/tests/main.cc b/tests/main.cc index 6dca333..60af1de 100644 --- a/tests/main.cc +++ b/tests/main.cc @@ -1,8 +1,11 @@ #include #include +#include "booleanvector.h" #include "booleanmatrix.h" #include "simplicialcomplex.h" +#include "persistence.h" +#include "image.h" using namespace std; @@ -13,10 +16,15 @@ 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_vector_TestSuite)); + ts.add(auto_ptr(new boolean_matrix_TestSuite)); + ts.add(auto_ptr(new simplicial_complex_TestSuite)); + ts.add(auto_ptr(new persistence_TestSuite)); + ts.add(auto_ptr(new image_TestSuite)); Test::TextOutput output(Test::TextOutput::Verbose); - return ts.run(output); + if (ts.run(output)) + return EXIT_SUCCESS; + return EXIT_FAILURE; }