commit 0d00240eb134fc6a92864b01695e1c0b3cb58629
parent ec54033ad59833e1c037f87ebabe995c7eed71e7
Author: Christopher A. Oliver <caowasteland@gmail.com>
Date: Sat, 2 Jan 2016 15:19:25 -0500
Fix test value to recognize new envelope slopes and endpoints.
Diffstat:
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/Tests/AdNoteTest.h b/src/Tests/AdNoteTest.h
@@ -138,19 +138,19 @@ class AdNoteTest:public CxxTest::TestSuite
note->noteout(outL, outR);
sampleCount += synth->buffersize;
- TS_ASSERT_DELTA(outL[255], -0.102197f, 0.0001f);
+ TS_ASSERT_DELTA(outL[255], -0.099167f, 0.0001f);
note->noteout(outL, outR);
sampleCount += synth->buffersize;
- TS_ASSERT_DELTA(outL[255], -0.111261f, 0.0001f);
+ TS_ASSERT_DELTA(outL[255], -0.108730f, 0.0001f);
note->noteout(outL, outR);
sampleCount += synth->buffersize;
- TS_ASSERT_DELTA(outL[255], -0.021375f, 0.0001f);
+ TS_ASSERT_DELTA(outL[255], -0.030751f, 0.0001f);
note->noteout(outL, outR);
sampleCount += synth->buffersize;
- TS_ASSERT_DELTA(outL[255], 0.149149f, 0.0001f);
+ TS_ASSERT_DELTA(outL[255], 0.146882f, 0.0001f);
while(!note->finished()) {
note->noteout(outL, outR);
diff --git a/src/Tests/PadNoteTest.h b/src/Tests/PadNoteTest.h
@@ -166,15 +166,15 @@ class PadNoteTest:public CxxTest::TestSuite
note->noteout(outL, outR);
sampleCount += synth->buffersize;
- TS_ASSERT_DELTA(outL[255], 0.060818f, 0.0005f);
+ TS_ASSERT_DELTA(outL[255], 0.062217f, 0.0005f);
note->noteout(outL, outR);
sampleCount += synth->buffersize;
- TS_ASSERT_DELTA(outL[255], 0.036895f, 0.0005f);
+ TS_ASSERT_DELTA(outL[255], 0.038359f, 0.0005f);
note->noteout(outL, outR);
sampleCount += synth->buffersize;
- TS_ASSERT_DELTA(outL[255], -0.006623f, 0.0001f);
+ TS_ASSERT_DELTA(outL[255], -0.006975f, 0.0001f);
while(!note->finished()) {
note->noteout(outL, outR);
diff --git a/src/Tests/SubNoteTest.h b/src/Tests/SubNoteTest.h
@@ -132,7 +132,7 @@ class SubNoteTest:public CxxTest::TestSuite
note->noteout(outL, outR);
sampleCount += synth->buffersize;
- TS_ASSERT_DELTA(outL[255], -0.0013f, 0.0001f);
+ TS_ASSERT_DELTA(outL[255], -0.0014f, 0.0001f);
note->noteout(outL, outR);
sampleCount += synth->buffersize;