def test_diminish(self): b = Bar() c = Bar() b + "A" c + "Ab" b.diminish() self.assertEqual(b, c)
def test_diminish(self): b = Bar() c = Bar() b + 'A' c + 'Ab' b.diminish() self.assertEqual(b, c)
def test_diminish_rest(self): b = Bar() b.place_notes("C#-4", 4) b.place_rest(4) c = Bar() c.place_notes("C-4", 4) c.place_rest(4) b.diminish() self.assertEqual(b, c)