From: <sv...@op...> - 2024-08-26 19:52:46
|
Author: sagamusix Date: Mon Aug 26 21:52:18 2024 New Revision: 21528 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21528 Log: [Imp] Test: Add test data for extended IT instruments (referencing sample ID > 255). Modified: trunk/OpenMPT/test/test.cpp trunk/OpenMPT/test/test.mptm Modified: trunk/OpenMPT/test/test.cpp ============================================================================== --- trunk/OpenMPT/test/test.cpp Mon Aug 26 19:52:07 2024 (r21527) +++ trunk/OpenMPT/test/test.cpp Mon Aug 26 21:52:18 2024 (r21528) @@ -3129,7 +3129,7 @@ for(size_t i = 0; i < NOTE_MAX; i++) { - VERIFY_EQUAL_NONCONT(pIns->Keyboard[i], (i == NOTE_MIDDLEC - 1) ? 99 : 1); + VERIFY_EQUAL_NONCONT(pIns->Keyboard[i], (i == NOTE_MIDDLEC - 1) ? (ins * 1111) : 1); VERIFY_EQUAL_NONCONT(pIns->NoteMap[i], (i == NOTE_MIDDLEC - 1) ? (i + 13) : (i + 1)); } Modified: trunk/OpenMPT/test/test.mptm ============================================================================== Binary file (source and/or target). No diff available. |