diff options
Diffstat (limited to 'tests/test_partial_tracking.h')
-rw-r--r-- | tests/test_partial_tracking.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/test_partial_tracking.h b/tests/test_partial_tracking.h index c548984..e5715de 100644 --- a/tests/test_partial_tracking.h +++ b/tests/test_partial_tracking.h @@ -58,6 +58,32 @@ protected: void test_streaming(); }; + +// --------------------------------------------------------------------------- +// TestSndObjPartialTracking +// --------------------------------------------------------------------------- +class TestSndObjPartialTracking : public CPPUNIT_NS::TestCase { + CPPUNIT_TEST_SUITE(TestSndObjPartialTracking); + CPPUNIT_TEST(test_basic); + CPPUNIT_TEST(test_change_num_partials); + CPPUNIT_TEST(test_peaks); + CPPUNIT_TEST(test_streaming); + CPPUNIT_TEST_SUITE_END(); + +public: + void setUp(); + +protected: + SndObjPeakDetection _pd; + SndObjPartialTracking _pt; + SndfileHandle _sf; + + void test_basic(); + void test_change_num_partials(); + void test_peaks(); + void test_streaming(); +}; + // --------------------------------------------------------------------------- // TestLorisPartialTracking // --------------------------------------------------------------------------- |