X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fmain.cc;h=dcf0abeeb978a5d5798e4575ec8a669ab70543d6;hb=799cd8e53b06b4f9ec7d4dde13ab600717982099;hp=0b3dd996f1af959242a3b2efa6374e821c79b339;hpb=46e2e26363bfa07dc79d912ebe6df772942536bd;p=libstick.git diff --git a/tests/main.cc b/tests/main.cc index 0b3dd99..dcf0abe 100644 --- a/tests/main.cc +++ b/tests/main.cc @@ -4,6 +4,7 @@ #include "booleanmatrix.h" #include "simplicialcomplex.h" #include "persistence.h" +#include "image.h" using namespace std; @@ -17,8 +18,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)); + 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; }