Use scomplex throughout rather than simplcompltype
[libstick.git] / tests / main.cc
index 0b3dd996f1af959242a3b2efa6374e821c79b339..60af1de7c4195786e3b6529325c3a5aadec7d992 100644 (file)
@@ -1,9 +1,11 @@
 #include <stdio.h>
 #include <stdlib.h>
 
+#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<Test::Suite>(new boolean_vector_TestSuite));
     ts.add(auto_ptr<Test::Suite>(new boolean_matrix_TestSuite));
     ts.add(auto_ptr<Test::Suite>(new simplicial_complex_TestSuite));
     ts.add(auto_ptr<Test::Suite>(new persistence_TestSuite));
+    ts.add(auto_ptr<Test::Suite>(new image_TestSuite));
 
     Test::TextOutput output(Test::TextOutput::Verbose);
-    return ts.run(output);
+    if (ts.run(output))
+        return EXIT_SUCCESS;
+    return EXIT_FAILURE;
 }