def test_generate_seven(self): start = 'C5' should_be = ['C5', 'E5', 'G5', 'A#5'] self.assertEqual(should_be, chords.generateChord('7', start))
def test_generate_aug(self): start = 'C5' should_be = ['C5', 'E5', 'G#5'] self.assertEqual(should_be, chords.generateChord('aug', start))
def test_generate_dim(self): start = 'C5' should_be = ['C5', 'D#5', 'F#5'] self.assertEqual(should_be, chords.generateChord('dim', start))
def test_generate_min_triad(self): start = 'C5' should_be = ['C5', 'D#5', 'G5'] self.assertEqual(should_be, chords.generateChord('min', start))
def test_generate_maj_second_inversion(self): start = 'C5' should_be = ['G5', 'C5', 'E5'] self.assertEqual(should_be, chords.generateChord('maj', start, inversion=2))
def test_generate_min_triad(self): start = 'C5' should_be = ['C5','D#5','G5'] self.assertEqual(should_be, chords.generateChord('min', start))
def test_generate_seven(self): start = 'C5' should_be = ['C5','E5','G5','A#5'] self.assertEqual(should_be, chords.generateChord('7', start))
def test_generate_dim(self): start = 'C5' should_be = ['C5','D#5','F#5'] self.assertEqual(should_be, chords.generateChord('dim', start))
def test_generate_aug(self): start = 'C5' should_be = ['C5','E5','G#5'] self.assertEqual(should_be, chords.generateChord('aug', start))
def test_generate_maj_second_inversion(self): start = 'C5' should_be = ['G5','C5','E5'] self.assertEqual(should_be, chords.generateChord('maj', start, inversion=2))