Ejemplo n.º 1
0
 def test_seventh(self):
     self.assertEqual(["C", "E", "G", "B"], chords.seventh("C", "C"))
     self.assertEqual(["E", "G", "B", "D"], chords.seventh("E", "C"))
     self.assertEqual(["B", "D", "F", "A"], chords.seventh("B", "C"))
     self.assertEqual(["B", "D#", "F#", "A#"], chords.seventh("B", "B"))
Ejemplo n.º 2
0
def create_seventh_name(note):
    return chords.determine_seventh(chords.seventh(note, note),
                                    shorthand=True)[0]
Ejemplo n.º 3
0
	def test_seventh(self):
		self.assertEqual(["C", "E", "G", "B"], chords.seventh("C", "C"))
		self.assertEqual(["E", "G", "B", "D"], chords.seventh("E", "C"))
		self.assertEqual(["B", "D", "F", "A"], chords.seventh("B", "C"))
		self.assertEqual(["B", "D#", "F#", "A#"], chords.seventh("B", "B"))
Ejemplo n.º 4
0
 def test_seventh(self):
     self.assertEqual(['C', 'E', 'G', 'B'], chords.seventh('C', 'C'))
     self.assertEqual(['E', 'G', 'B', 'D'], chords.seventh('E', 'C'))
     self.assertEqual(['B', 'D', 'F', 'A'], chords.seventh('B', 'C'))
     self.assertEqual(['B', 'D#', 'F#', 'A#'], chords.seventh('B', 'B'))
Ejemplo n.º 5
0
def create_seventh_name(note):
    return chords.determine_seventh(chords.seventh(note, note), shorthand=True)[0]
Ejemplo n.º 6
0
 def test_seventh(self):
     self.assertEqual(['C', 'E', 'G', 'B'], chords.seventh('C', 'C'))
     self.assertEqual(['E', 'G', 'B', 'D'], chords.seventh('E', 'C'))
     self.assertEqual(['B', 'D', 'F', 'A'], chords.seventh('B', 'C'))
     self.assertEqual(['B', 'D#', 'F#', 'A#'], chords.seventh('B', 'B'))