X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=tests%2Fmain.cc;h=60af1de7c4195786e3b6529325c3a5aadec7d992;hb=7186ae9cc97393496d7f0e0cb281524276f1e47c;hp=0b3dd996f1af959242a3b2efa6374e821c79b339;hpb=46e2e26363bfa07dc79d912ebe6df772942536bd;p=libstick.git diff --git a/tests/main.cc b/tests/main.cc index 0b3dd99..60af1de 100644 --- a/tests/main.cc +++ b/tests/main.cc @@ -1,9 +1,11 @@ #include #include +#include "booleanvector.h" #include "booleanmatrix.h" #include "simplicialcomplex.h" #include "persistence.h" +#include "image.h" using namespace std; @@ -14,11 +16,15 @@ int main(int argc, char* argv[]) { Test::Suite ts; + 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; }