def testLinkedListClearWithHead(): a = LinkedList() a.add("hello") a.remove(0) return a.isEmpty()
def testLinkedListClear(): e = LinkedList() e.add("Hello") e.add("World") e.clear() return e.isEmpty()