diff options
Diffstat (limited to 'tests/tests.cpp')
-rw-r--r-- | tests/tests.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/tests.cpp b/tests/tests.cpp new file mode 100644 index 0000000..d13b4f7 --- /dev/null +++ b/tests/tests.cpp @@ -0,0 +1,24 @@ +#include <cppunit/ui/text/TextTestRunner.h> +#include <cppunit/extensions/HelperMacros.h> +#include <cppunit/extensions/TestFactoryRegistry.h> + +#include "test_base.h" +#include "test_peak_detection.h" +#include "test_partial_tracking.h" +#include "test_synthesis.h" + +CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestPeak); +CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestFrame); +CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestMQPeakDetection); +CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestLorisPeakDetection); +CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestMQPartialTracking); +CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestSMSPartialTracking); +CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestLorisPartialTracking); +CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestMQSynthesis); +CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestLorisSynthesis); + +int main(int arg, char **argv) { + CppUnit::TextTestRunner runner; + runner.addTest(CppUnit::TestFactoryRegistry::getRegistry().makeTest()); + return runner.run("", false); +} |