diff options
author | JP Cimalando <jpcima@users.noreply.github.com> | 2018-07-26 04:44:54 +0200 |
---|---|---|
committer | JP Cimalando <jpcima@users.noreply.github.com> | 2018-07-26 04:44:54 +0200 |
commit | 92fafc57d48fc865232c22c313a22faa3dbc008f (patch) | |
tree | f8900f1427a66cb3638335fe9c6f21ee3b429ade /test | |
parent | e4a72fd8329fa9c47409fce3b88236d594471d9b (diff) | |
download | libADLMIDI-92fafc57d48fc865232c22c313a22faa3dbc008f.tar.gz libADLMIDI-92fafc57d48fc865232c22c313a22faa3dbc008f.tar.bz2 libADLMIDI-92fafc57d48fc865232c22c313a22faa3dbc008f.zip |
add midi_velocity_offset in the conversion, and add unit test
Diffstat (limited to 'test')
-rw-r--r-- | test/conversion/conversion.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/conversion/conversion.cpp b/test/conversion/conversion.cpp index f78c363..b4d64eb 100644 --- a/test/conversion/conversion.cpp +++ b/test/conversion/conversion.cpp @@ -46,8 +46,7 @@ static void check_instrument_equality(const ADL_Instrument &a, const ADL_Instrum { REQUIRE((int)a.note_offset1 == (int)b.note_offset1); REQUIRE((int)a.note_offset2 == (int)b.note_offset2); - #pragma message("velocity offset: uncomment this test when it's implemented") - // REQUIRE((int)a.midi_velocity_offset == (int)b.midi_velocity_offset); + REQUIRE((int)a.midi_velocity_offset == (int)b.midi_velocity_offset); REQUIRE((int)a.second_voice_detune == (int)b.second_voice_detune); REQUIRE((int)a.percussion_key_number == (int)b.percussion_key_number); REQUIRE((int)a.inst_flags == (int)b.inst_flags); |