aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pcm_all.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-12 22:05:38 +0200
committerMax Kellermann <max@duempel.org>2014-08-12 22:05:38 +0200
commitee7282ce0ddb85e4e0d8174a8db6d3853b2b41a5 (patch)
tree77fb6c0973b745262271d2d17b3550b704e7f59c /test/test_pcm_all.hxx
parentd026367334c4d5ca024d6127c5ddb91888b64b3d (diff)
downloadmpd-ee7282ce0ddb85e4e0d8174a8db6d3853b2b41a5.tar.gz
mpd-ee7282ce0ddb85e4e0d8174a8db6d3853b2b41a5.tar.xz
mpd-ee7282ce0ddb85e4e0d8174a8db6d3853b2b41a5.zip
test/test_pcm: add PcmExport unit test
Diffstat (limited to 'test/test_pcm_all.hxx')
-rw-r--r--test/test_pcm_all.hxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/test_pcm_all.hxx b/test/test_pcm_all.hxx
index 1c7df82eb..64ad82a32 100644
--- a/test/test_pcm_all.hxx
+++ b/test/test_pcm_all.hxx
@@ -103,4 +103,19 @@ public:
void TestMix32();
};
+class PcmExportTest : public CppUnit::TestFixture {
+ CPPUNIT_TEST_SUITE(PcmExportTest);
+ CPPUNIT_TEST(TestShift8);
+ CPPUNIT_TEST(TestPack24);
+ CPPUNIT_TEST(TestReverseEndian);
+ CPPUNIT_TEST(TestDsdUsb);
+ CPPUNIT_TEST_SUITE_END();
+
+public:
+ void TestShift8();
+ void TestPack24();
+ void TestReverseEndian();
+ void TestDsdUsb();
+};
+
#endif