]> git.sthu.org Git - libstick.git/blob - tests/main.cc
Add persistence::get_order()
[libstick.git] / tests / main.cc
1 #include <stdio.h>
2 #include <stdlib.h>
3
4 #include "booleanmatrix.h"
5 #include "simplicialcomplex.h"
6 #include "persistence.h"
7 #include "image.h"
8
9 using namespace std;
10
11
12 int main(int argc, char* argv[]) {
13 (void) argc;
14 (void) argv;
15
16 Test::Suite ts;
17
18 ts.add(auto_ptr<Test::Suite>(new boolean_matrix_TestSuite));
19 ts.add(auto_ptr<Test::Suite>(new simplicial_complex_TestSuite));
20 ts.add(auto_ptr<Test::Suite>(new persistence_TestSuite));
21 ts.add(auto_ptr<Test::Suite>(new image_TestSuite));
22
23 Test::TextOutput output(Test::TextOutput::Verbose);
24 if (ts.run(output))
25 return EXIT_SUCCESS;
26 return EXIT_FAILURE;
27 }
28