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

Method test_diminish

tests/unit/core/test_notes.py:99–107  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

97 )
98
99 def test_diminish(self):
100 known = {"C": "Cb", "C#": "C", "C##": "C#", "Cb": "Cbb"}
101 for x in known:
102 self.assertEqual(
103 known[x],
104 notes.diminish(x),
105 "The diminished note of %s is not %s, expecting %s"
106 % (x, notes.diminish(x), known[x]),
107 )
108
109
110def load_tests(loader, tests, ignore):

Callers

nothing calls this directly

Calls 1

diminishMethod · 0.45

Tested by

no test coverage detected