def test_isEmpty_on_non_empty_list(self): l = SortedList() l.insert_item_fast('77') self.assertFalse(l.isEmpty())
def test_isEmpty_on_empty_list(self): l = SortedList() self.assertTrue(l.isEmpty())