Sepearate Generation
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import tests.production_fixtures
|
||||
import argparse
|
||||
import copy
|
||||
import fractions
|
||||
@@ -26,6 +27,8 @@ def xml_harmony(root='C', kind='major', offset=0):
|
||||
return f'<harmony><root><root-step>{root}</root-step></root><kind>{kind}</kind><offset>{offset}</offset></harmony>'
|
||||
|
||||
class PartGenerationTests(unittest.TestCase):
|
||||
def setUp(self):
|
||||
tests.production_fixtures.install(self)
|
||||
def assert_complete_measure(self, measure):
|
||||
cursor = fractions.Fraction()
|
||||
for note in measure['voices'][0]['notes']:
|
||||
|
||||
Reference in New Issue
Block a user