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

Method test_to_int

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

Source from the content-addressed store, hash-verified

36 self.assertTrue(self.c != None)
37
38 def test_to_int(self):
39 self.assertEqual(48, Note("C", 4))
40 self.assertEqual(47, Note("Cb", 4))
41 self.assertEqual(36, int(self.c2))
42 self.assertEqual(71, int(self.b5))
43 self.assertEqual(59, int(self.b4))
44
45 def test_set_note(self):
46 n = Note()

Callers

nothing calls this directly

Calls 1

NoteClass · 0.90

Tested by

no test coverage detected