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

Method setUp

tests/unit/containers/test_instrument.py:11–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9
10class test_Instrument(unittest.TestCase):
11 def setUp(self):
12 self.i = Instrument()
13 self.p = Piano()
14 self.g = Guitar()
15 self.notes = NoteContainer(["A", "B", "C", "D", "E"])
16 self.noteslow = NoteContainer(["C-0", "D-0", "E-0"])
17 self.noteshigh = NoteContainer(["A-12", "B-12", "C-12", "D-12", "E-12"])
18
19 def test_note_in_range(self):
20 for x in self.notes:

Callers

nothing calls this directly

Calls 4

InstrumentClass · 0.90
PianoClass · 0.90
GuitarClass · 0.90
NoteContainerClass · 0.90

Tested by

no test coverage detected