summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn Glover <j@johnglover.net>2013-01-25 09:23:43 +0100
committerJohn Glover <j@johnglover.net>2013-01-25 09:23:43 +0100
commit9a01ba209d70f7a1dd7e5fb5534f8a4e39e792c5 (patch)
treea9b2d53a44d1d2bcc9b449b747471e4736eca19a /tests
parentf96435f9713d48be0924be5ab9e7194ea572f629 (diff)
downloadsimpl-9a01ba209d70f7a1dd7e5fb5534f8a4e39e792c5.tar.gz
simpl-9a01ba209d70f7a1dd7e5fb5534f8a4e39e792c5.tar.bz2
simpl-9a01ba209d70f7a1dd7e5fb5534f8a4e39e792c5.zip
[tests] Add test for changing frame sizes with LorisSynthesis.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_synthesis.cpp4
-rw-r--r--tests/test_synthesis.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_synthesis.cpp b/tests/test_synthesis.cpp
index d1a8658..2675589 100644
--- a/tests/test_synthesis.cpp
+++ b/tests/test_synthesis.cpp
@@ -133,3 +133,7 @@ void TestLorisSynthesis::setUp() {
void TestLorisSynthesis::test_basic() {
::test_basic(&_pd, &_pt, &_synth, &_sf);
}
+
+void TestLorisSynthesis::test_changing_frame_size() {
+ ::test_changing_frame_size(&_pd, &_pt, &_synth, &_sf);
+}
diff --git a/tests/test_synthesis.h b/tests/test_synthesis.h
index 251fa93..5e818d9 100644
--- a/tests/test_synthesis.h
+++ b/tests/test_synthesis.h
@@ -40,6 +40,7 @@ protected:
class TestLorisSynthesis : public CPPUNIT_NS::TestCase {
CPPUNIT_TEST_SUITE(TestLorisSynthesis);
CPPUNIT_TEST(test_basic);
+ CPPUNIT_TEST(test_changing_frame_size);
CPPUNIT_TEST_SUITE_END();
public:
@@ -52,6 +53,7 @@ protected:
SndfileHandle _sf;
void test_basic();
+ void test_changing_frame_size();
};
} // end of namespace simpl