예제 #1
0
 def main(*argv):
     "DequeAsArray test program."
     print DequeAsArray.main.__doc__
     deque1 = DequeAsArray(5)
     Queue.test(deque1)
     Deque.test(deque1)
     return 0
예제 #2
0
 def main(*argv):
     "DequeAsLinkedList test program."
     print DequeAsLinkedList.main.__doc__
     deque2 = DequeAsLinkedList()
     Queue.test(deque2)
     Deque.test(deque2)
     return 0
예제 #3
0
 def main(*argv):
     "DequeAsLinkedList test program."
     print DequeAsLinkedList.main.__doc__
     deque2 = DequeAsLinkedList()
     Queue.test(deque2)
     Deque.test(deque2)
     return 0
예제 #4
0
 def main(*argv):
     "DequeAsArray test program."
     print((DequeAsArray.main.__doc__))
     deque1 = DequeAsArray(5)
     Queue.test(deque1)
     Deque.test(deque1)
     return 0
예제 #5
0
 def main(*argv):
     "QueueAsArray test program."
     print((QueueAsArray.main.__doc__))
     queue1 = QueueAsArray(5)
     Queue.test(queue1)
     return 0
예제 #6
0
 def main(*argv):
     "QueueAsLinkedList test program."
     print QueueAsLinkedList.main.__doc__
     queue2 = QueueAsLinkedList()
     Queue.test(queue2)
     return 0
예제 #7
0
 def main(*argv):
     "QueueAsLinkedList test program."
     print QueueAsLinkedList.main.__doc__
     queue2 = QueueAsLinkedList()
     Queue.test(queue2)
     return 0
예제 #8
0
 def main(*argv):
     "QueueAsArray test program."
     print QueueAsArray.main.__doc__
     queue1 = QueueAsArray(5)
     Queue.test(queue1)
     return 0