diff --git a/tests/FilesT.cpp b/tests/FilesT.cpp index 07d12c03..6fc1e773 100644 --- a/tests/FilesT.cpp +++ b/tests/FilesT.cpp @@ -517,7 +517,7 @@ TEST_CASE("[Files] Off modes") REQUIRE( synth.getNumActiveVoices() == 3 ); REQUIRE( numPlayingVoices(synth) == 1 ); AudioBuffer buffer { 2, 256 }; - for (unsigned i = 0; i < 10; ++i) // Not enough for the "normal" voice to die + for (unsigned i = 0; i < 20; ++i) // Not enough for the "normal" voice to die synth.renderBlock(buffer); REQUIRE( synth.getNumActiveVoices() == 2 ); REQUIRE( fastVoice->isFree() ); diff --git a/tests/SynthT.cpp b/tests/SynthT.cpp index cd309176..3bf2cc64 100644 --- a/tests/SynthT.cpp +++ b/tests/SynthT.cpp @@ -31,7 +31,7 @@ TEST_CASE("[Synth] Play and check active voices") synth.noteOn(0, 36, 89); REQUIRE(synth.getNumActiveVoices() == 2); // Render for a while - for (int i = 0; i < 200; ++i) + for (int i = 0; i < 300; ++i) synth.renderBlock(buffer); REQUIRE(synth.getNumActiveVoices() == 0); }