Beispiel #1
0
 def test_unique_note(self):
     note = ('E', 2)
     expected = (0, 5, 1) + ((0,) * 3 * 5)
     self.assertEqual(_fret_string_combos(note), expected)
Beispiel #2
0
 def test_off_the_charts_note(self):
     note = ('E', 8)
     expected = (0,) * 3 * 6
     self.assertEqual(_fret_string_combos(note), expected)
Beispiel #3
0
 def test_ubiquitous_note(self):
     note = ('E', 4)
     expected = (24, 5, 1, 19, 4, 1, 14, 3, 1, 9, 2, 1, 5, 1, 1, 0, 0, 1)
     self.assertEqual(_fret_string_combos(note), expected)