def main(*argv): "DequeAsArray test program." print DequeAsArray.main.__doc__ deque1 = DequeAsArray(5) Queue.test(deque1) Deque.test(deque1) return 0
def main(*argv): "DequeAsLinkedList test program." print DequeAsLinkedList.main.__doc__ deque2 = DequeAsLinkedList() Queue.test(deque2) Deque.test(deque2) return 0
def main(*argv): "DequeAsArray test program." print((DequeAsArray.main.__doc__)) deque1 = DequeAsArray(5) Queue.test(deque1) Deque.test(deque1) return 0
def main(*argv): "QueueAsArray test program." print((QueueAsArray.main.__doc__)) queue1 = QueueAsArray(5) Queue.test(queue1) return 0
def main(*argv): "QueueAsLinkedList test program." print QueueAsLinkedList.main.__doc__ queue2 = QueueAsLinkedList() Queue.test(queue2) return 0
def main(*argv): "QueueAsArray test program." print QueueAsArray.main.__doc__ queue1 = QueueAsArray(5) Queue.test(queue1) return 0