예제 #1
0
 def test_diminish(self):
     b = Bar()
     c = Bar()
     b + "A"
     c + "Ab"
     b.diminish()
     self.assertEqual(b, c)
예제 #2
0
 def test_diminish(self):
     b = Bar()
     c = Bar()
     b + 'A'
     c + 'Ab'
     b.diminish()
     self.assertEqual(b, c)
예제 #3
0
 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)