示例#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"))
示例#2
0
def create_seventh_name(note):
    return chords.determine_seventh(chords.seventh(note, note),
                                    shorthand=True)[0]
示例#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"))
示例#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'))
def create_seventh_name(note):
    return chords.determine_seventh(chords.seventh(note, note), shorthand=True)[0]
示例#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'))