MCPcopy Create free account
hub / github.com/bspaans/python-mingus / test_determine_chords

Method test_determine_chords

tests/unit/containers/test_bar.py:108–114  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

106 self.assertEqual(["C", "A"], b.get_note_names())
107
108 def test_determine_chords(self):
109 b = Bar()
110 b + ["C", "E", "G"]
111 b + ["F", "A", "C"]
112 self.assertEqual(
113 [[0.0, ["C major triad"]], [0.25, ["F major triad"]]], b.determine_chords()
114 )
115
116 def test_determine_progression(self):
117 b = Bar()

Callers

nothing calls this directly

Calls 2

determine_chordsMethod · 0.95
BarClass · 0.90

Tested by

no test coverage detected