Exemplo n.º 1
0
 def testCalcOctaveShift(self):
     self.item.transpose = BarlinesAndMarkers.Transposition(octave=1)
     expected = "\\transpose c' c'' {"
     self.assertEqual(self.item.CalculateTransposition(), expected)
Exemplo n.º 2
0
 def testCalcUpWithDiatonic(self):
     self.item.transpose = BarlinesAndMarkers.Transposition(diatonic=1)
     expected = "\\transpose c' d' {"
     self.assertEqual(self.item.CalculateTransposition(), expected)