def test_determine_chords(self): b = Bar() b + ["C", "E", "G"] b + ["F", "A", "C"] self.assertEqual([[0.0, ["C major triad"]], [0.25, ["F major triad"]]], b.determine_chords())
def test_determine_chords(self): b = Bar() b + ['C', 'E', 'G'] b + ['F', 'A', 'C'] self.assertEqual([[0.0, ['C major triad']], [0.25, ['F major triad']]], b.determine_chords())