def test_get_note_3(self): note = NotesApplication("author") test_get = note.get(3) self.assertEqual(note.get, "note4", msg = "Success: Note retrieved!")
def test_get_note_4(self): note = NotesApplication("author") test_get = note.get(-200) self.assertEqual(note.get, "note4", msg = "Oops: Index out of range")
def test_get_note_1(self): note = NotesApplication("author") test_get = note.get("") self.assertEqual(note.get, 0, msg = "Oops: No index passed")