aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJP Cimalando <jpcima@users.noreply.github.com>2018-07-26 04:44:54 +0200
committerJP Cimalando <jpcima@users.noreply.github.com>2018-07-26 04:44:54 +0200
commit92fafc57d48fc865232c22c313a22faa3dbc008f (patch)
treef8900f1427a66cb3638335fe9c6f21ee3b429ade /test
parente4a72fd8329fa9c47409fce3b88236d594471d9b (diff)
downloadlibADLMIDI-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.cpp3
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);