Soloing
This commit is contained in:
@@ -210,6 +210,9 @@ class SoloTests(unittest.TestCase):
|
||||
old, new = before[part]['staves'][0]['measures'], parts[part]['staves'][0]['measures']
|
||||
self.assertEqual(old[:low], new[:low])
|
||||
self.assertEqual(old[high:], new[high:])
|
||||
support = 4 if part == 'acoustic' else 3
|
||||
first, count, _, _ = regions[support]
|
||||
self.assertEqual(old[first:first+count],new[first:first+count])
|
||||
for section in (3, 4):
|
||||
first, count, _, _ = regions[section]
|
||||
self.assertTrue(any(n['pitches'] for m in new[first:first + count] for n in generator.score.measure_notes(m)))
|
||||
|
||||
Reference in New Issue
Block a user