commit b5a096640e4c35e1b7ac7a39d5eb2f2391d5087f
parent 6753e913bdb5af0c207240d946d068a39c56a2b9
Author: michiboo <chanmickyyun@gmail.com>
Date: Mon, 22 Jul 2019 15:51:50 +0300
try fix triggerTest
Diffstat:
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/Tests/TriggerTest.h b/src/Tests/TriggerTest.h
@@ -120,24 +120,21 @@ class TriggerTest:public CxxTest::TestSuite
#endif
sampleCount += synth->buffersize;
note->releasekey();
-
TS_ASSERT(!tr->hasNext());
w->add_watch("noteout");
w->add_watch("noteout1");
note->noteout(outL, outR);
sampleCount += synth->buffersize;
w->tick();
- TS_ASSERT(w->trigger_active("noteout"));
- TS_ASSERT(w->trigger_active("noteout1"));
note->noteout(outL, outR);
sampleCount += synth->buffersize;
w->tick();
-
+ TS_ASSERT(w->trigger_active("noteout"));
+ TS_ASSERT(w->trigger_active("noteout1"));
note->noteout(outL, outR);
sampleCount += synth->buffersize;
w->tick();
TS_ASSERT_EQUALS(string("noteout1"), tr->read());
-
note->noteout(outL, outR);
sampleCount += synth->buffersize;
w->tick();