(self)
| 9 | |
| 10 | class 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: |
nothing calls this directly
no test coverage detected