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

Method test_augment

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

Source from the content-addressed store, hash-verified

87 )
88
89 def test_augment(self):
90 known = {"C": "C#", "C#": "C##", "Cb": "C", "Cbb": "Cb"}
91 for x in known:
92 self.assertEqual(
93 known[x],
94 notes.augment(x),
95 "The augmented note of %s is not %s, expecting %s"
96 % (x, notes.augment(x), known[x]),
97 )
98
99 def test_diminish(self):
100 known = {"C": "Cb", "C#": "C", "C##": "C#", "Cb": "Cbb"}

Callers

nothing calls this directly

Calls 1

augmentMethod · 0.45

Tested by

no test coverage detected