This commit is contained in:
khodowany
2026-10-04 12:27:43 -05:00
parent 8fdd736e13
commit 405066eb43
18 changed files with 810 additions and 71 deletions
+2 -2
View File
@@ -187,8 +187,8 @@ class TypedExpressionContracts(unittest.TestCase):
self.assertTrue(any('tie_from' in p for m in measures for v in m['voices'] for n in v['notes'] for p in n['pitches']))
def test_authored_fast_cells_respect_tempo(self):
fast={c[0] for c in vocabulary.rhythm_cells(180)}
slow={c[0] for c in vocabulary.rhythm_cells(100)}
fast={c.id for c in vocabulary.rhythm_cells(180)}
slow={c.id for c in vocabulary.rhythm_cells(100)}
self.assertNotIn('sixteenth_pickup',fast);self.assertNotIn('triplet_turn',fast)
self.assertIn('sixteenth_pickup',slow);self.assertIn('triplet_turn',slow)