From 652b3932d774962f437d86c6043b561513736700 Mon Sep 17 00:00:00 2001 From: Tim Beyer <35711942+TimFelixBeyer@users.noreply.github.com> Date: Thu, 26 Dec 2024 16:12:37 +0100 Subject: [PATCH] Add tests for finale and non-finale hiddenRest insertion --- music21/musicxml/testPrimitive.py | 74 ++++++++++++++++++++++++++++++- 1 file changed, 72 insertions(+), 2 deletions(-) diff --git a/music21/musicxml/testPrimitive.py b/music21/musicxml/testPrimitive.py index e2d552de2..03a3b6ea7 100644 --- a/music21/musicxml/testPrimitive.py +++ b/music21/musicxml/testPrimitive.py @@ -18264,7 +18264,7 @@ ''' -hiddenRests = ''' +hiddenRestsFinale = ''' @@ -18340,6 +18340,77 @@ ''' +hiddenRestsNoFinale = ''' + + + + + MusicXML Part + + + + + + 2 + + + G + 2 + + + + + E + 5 + + 4 + 1 + half + up + + + 2 + 1 + + + + E + 4 + + 2 + 1 + quarter + up + + + 8 + + + 4 + 2 + + + + F + 4 + + 2 + 2 + quarter + down + + + 2 + 2 + + + + +''' + multiDigitEnding = ''' @@ -18392,7 +18463,6 @@ ''' - tupletsImplied = '''