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

Method test_measure

tests/unit/containers/test_note.py:100–102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

98 self.assertEqual(Note("C", 1), Note().from_int(12))
99
100 def test_measure(self):
101 self.assertTrue(Note("C").measure(Note("D")) == 2)
102 self.assertTrue(Note("D").measure(Note("C")) == -2)
103
104 def test_to_shorthand(self):
105 self.assertTrue(Note("C-0").to_shorthand() == "C,,")

Callers

nothing calls this directly

Calls 2

NoteClass · 0.90
measureMethod · 0.80

Tested by

no test coverage detected