zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 458d1044fdaf970daeb26b0294e92c220247543e
parent 75ba6f760f0a210bb101bbb9c25f344cad3ca4c9
Author: fundamental <mark.d.mccurry@gmail.com>
Date:   Sun, 14 Mar 2010 18:37:13 -0400

SampleTest: Removed Obsolete Test

Diffstat:
Msrc/Tests/SampleTest.h | 18------------------
1 file changed, 0 insertions(+), 18 deletions(-)

diff --git a/src/Tests/SampleTest.h b/src/Tests/SampleTest.h @@ -80,23 +80,5 @@ class SampleTest:public CxxTest::TestSuite for(int i = 0; i < 74; ++i) TS_ASSERT_DELTA(smp1[i], (i < 54 ? 2 : 17), 0.001); } - - void testResample() { - Sample orig(32,2); - Sample cpy(orig); - - //test for no resampleing - orig.resample(128,128); - TS_ASSERT_EQUALS(cpy,orig); - - //test for no bad distortions - orig.resample(128,256); - orig.resample(256,128); - TS_ASSERT_EQUALS(cpy,orig); - - //test for downsample - orig.resample(256,128); - TS_ASSERT_EQUALS(orig.size(),cpy.size()/2); - } };