Change a test

This commit is contained in:
Paul Fd 2021-12-19 23:21:04 +01:00
parent e378105fd0
commit a0b2542ea9

View file

@ -1983,10 +1983,10 @@ TEST_CASE("[Synth] Sequences also work on cc triggers")
synth.cc(0, 61, 20); synth.cc(0, 61, 20);
synth.renderBlock(buffer); synth.renderBlock(buffer);
REQUIRE( playingSamples(synth) == std::vector<std::string> { "*sine", "*saw" } ); REQUIRE( playingSamples(synth) == std::vector<std::string> { "*sine", "*saw" } );
synth.cc(0, 61, 20); synth.cc(0, 61, 21);
synth.renderBlock(buffer); synth.renderBlock(buffer);
REQUIRE( playingSamples(synth) == std::vector<std::string> { "*sine", "*saw" } ); REQUIRE( playingSamples(synth) == std::vector<std::string> { "*sine", "*saw" } );
synth.cc(0, 61, 20); synth.cc(0, 61, 22);
synth.renderBlock(buffer); synth.renderBlock(buffer);
REQUIRE( playingSamples(synth) == std::vector<std::string> { "*sine", "*saw", "*sine" } ); REQUIRE( playingSamples(synth) == std::vector<std::string> { "*sine", "*saw", "*sine" } );
} }