summaryrefslogtreecommitdiff
path: root/tests/tests.cpp
blob: 517b7f1db71a0a476ad3c3b601e985d8f8faba15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#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"
#include "test_residual.h"

CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestPeak);
CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestFrame);
CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestMQPeakDetection);
CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestSndObjPeakDetection);
CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestTWM);
CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestLorisPeakDetection);
CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestMQPartialTracking);
CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestSMSPartialTracking);
CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestSndObjPartialTracking);
CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestLorisPartialTracking);
CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestMQSynthesis);
CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestLorisSynthesis);
CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestSMSSynthesis);
CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestSndObjSynthesis);
CPPUNIT_TEST_SUITE_REGISTRATION(simpl::TestSMSResidual);

int main(int arg, char **argv) {
    CppUnit::TextTestRunner runner;
    runner.addTest(CppUnit::TestFactoryRegistry::getRegistry().makeTest());
    return runner.run("", false);
}