Added testing facility.

This commit is contained in:
Francois Best 2016-10-03 21:41:13 -07:00
parent b5c2d8c12c
commit c86d6f2e26
1 changed files with 7 additions and 0 deletions

View File

@ -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.
*/