#ifndef TEST_PARTIAL_TRACKING_H #define TEST_PARTIAL_TRACKING_H #include #include "../src/simpl/base.h" #include "../src/simpl/peak_detection.h" #include "../src/simpl/partial_tracking.h" #include "test_common.h" namespace simpl { // --------------------------------------------------------------------------- // TestMQPartialTracking // --------------------------------------------------------------------------- class TestMQPartialTracking : public CPPUNIT_NS::TestCase { CPPUNIT_TEST_SUITE(TestMQPartialTracking); CPPUNIT_TEST(test_basic); CPPUNIT_TEST(test_peaks); CPPUNIT_TEST_SUITE_END(); public: void setUp(); protected: MQPeakDetection _pd; MQPartialTracking _pt; SndfileHandle _sf; void test_basic(); void test_peaks(); }; // --------------------------------------------------------------------------- // TestSMSPartialTracking // --------------------------------------------------------------------------- class TestSMSPartialTracking : public CPPUNIT_NS::TestCase { CPPUNIT_TEST_SUITE(TestSMSPartialTracking); CPPUNIT_TEST(test_basic); CPPUNIT_TEST(test_peaks); CPPUNIT_TEST_SUITE_END(); public: void setUp(); protected: SMSPeakDetection _pd; SMSPartialTracking _pt; SndfileHandle _sf; void test_basic(); void test_peaks(); }; // --------------------------------------------------------------------------- // TestLorisPartialTracking // --------------------------------------------------------------------------- class TestLorisPartialTracking : public CPPUNIT_NS::TestCase { CPPUNIT_TEST_SUITE(TestLorisPartialTracking); CPPUNIT_TEST(test_basic); CPPUNIT_TEST(test_peaks); CPPUNIT_TEST_SUITE_END(); public: void setUp(); protected: LorisPeakDetection _pd; LorisPartialTracking _pt; SndfileHandle _sf; void test_basic(); void test_peaks(); }; } // end of namespace simpl #endif