diff --git a/tests/MidiStateT.cpp b/tests/MidiStateT.cpp index 0498a884..dba6fffc 100644 --- a/tests/MidiStateT.cpp +++ b/tests/MidiStateT.cpp @@ -93,4 +93,11 @@ TEST_CASE("[MidiState] Set and get note velocities") state.noteOnEvent(0, 64, 123); REQUIRE(+state.getNoteVelocity(0, 64) == 123); REQUIRE(+state.getNoteVelocity(15, 64) == 0); +} + +TEST_CASE("[MidiState] Extended CCs") +{ + sfz::MidiState state; + REQUIRE(state.getCCArray(1).size() >= 142); + state.ccEvent(6, 142, 64); // should not trap } \ No newline at end of file