def test_meth_delete(self): res = NotesApplication('fortune') res.create('Hey now brown cow') self.assertFalse(res.delete(0))
def test_meth_delete_sec_note(self): res = NotesApplication('fortune') res.create('hot dogs') res.create('I\'ve got to eat some raw tomatoes') self.assertFalse(res.delete(1))
def test_meth_delete_if_nothing(self): res = NotesApplication('fortune') res.create('iyke is my name too') self.assertFalse(res.delete(0), [])