diff options
author | Max Kellermann <max@duempel.org> | 2015-06-22 15:08:17 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-06-22 16:32:06 +0200 |
commit | 5e22c83baaff88b82b8bf2e6ae9dbdc88f8c253d (patch) | |
tree | c87521c982a17468965c89f7f8cf18d33e678c3a /test/test_pcm_all.hxx | |
parent | eed1a3c239d78edf978af9433001cbc823242cda (diff) | |
download | mpd-5e22c83baaff88b82b8bf2e6ae9dbdc88f8c253d.tar.gz mpd-5e22c83baaff88b82b8bf2e6ae9dbdc88f8c253d.tar.xz mpd-5e22c83baaff88b82b8bf2e6ae9dbdc88f8c253d.zip |
test/test_pcm: add PcmInterleave() unit test
Diffstat (limited to '')
-rw-r--r-- | test/test_pcm_all.hxx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/test_pcm_all.hxx b/test/test_pcm_all.hxx index b97b20b69..fd08ec451 100644 --- a/test/test_pcm_all.hxx +++ b/test/test_pcm_all.hxx @@ -103,6 +103,23 @@ public: void TestMix32(); }; +class PcmInterleaveTest : public CppUnit::TestFixture { + CPPUNIT_TEST_SUITE(PcmInterleaveTest); + CPPUNIT_TEST(TestInterleave8); + CPPUNIT_TEST(TestInterleave16); + CPPUNIT_TEST(TestInterleave24); + CPPUNIT_TEST(TestInterleave32); + CPPUNIT_TEST(TestInterleave64); + CPPUNIT_TEST_SUITE_END(); + +public: + void TestInterleave8(); + void TestInterleave16(); + void TestInterleave24(); + void TestInterleave32(); + void TestInterleave64(); +}; + class PcmExportTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE(PcmExportTest); CPPUNIT_TEST(TestShift8); |