From c86d6f2e2636bcabfca340d134d69b5a362ce8d4 Mon Sep 17 00:00:00 2001 From: Francois Best Date: Mon, 3 Oct 2016 21:41:13 -0700 Subject: [PATCH] Added testing facility. --- src/midi_Message.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/midi_Message.h b/src/midi_Message.h index 1c3a3cd..a292bc9 100644 --- a/src/midi_Message.h +++ b/src/midi_Message.h @@ -43,6 +43,13 @@ struct Message */ static const unsigned sSysExMaxSize = SysExMaxSize; + /*! Static method accessor for SysEx max size, used for unit tests. + */ + static inline unsigned getSysExMaxSize() + { + return SysExMaxSize; + } + /*! The MIDI channel on which the message was recieved. \n Value goes from 1 to 16. */