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

Method test_transpose

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

Source from the content-addressed store, hash-verified

49 self.assertEqual(self.c.key, Key("E"))
50
51 def test_transpose(self):
52 b = Bar()
53 c = Bar()
54 b + ["C", "E", "G"]
55 c + ["E", "G#", "B"]
56 b + ["F", "A", "C"]
57 c + ["A", "C#", "E"]
58 b.transpose("3", True)
59 self.assertEqual(b, c)
60 b.transpose("3", False)
61 b.transpose("3")
62 self.assertEqual(b, c)
63
64 def test_augment(self):
65 b = Bar()

Callers

nothing calls this directly

Calls 2

transposeMethod · 0.95
BarClass · 0.90

Tested by

no test coverage detected