Revamp
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user