From 92fafc57d48fc865232c22c313a22faa3dbc008f Mon Sep 17 00:00:00 2001 From: JP Cimalando Date: Thu, 26 Jul 2018 04:44:54 +0200 Subject: add midi_velocity_offset in the conversion, and add unit test --- test/conversion/conversion.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/conversion/conversion.cpp') 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); -- cgit v1.2.3