예제 #1
0
 def main(*argv):
     "StackAsLinkedList test program."
     print StackAsLinkedList.main.__doc__
     stack2 = StackAsLinkedList()
     Stack.test(stack2)
     return 0
예제 #2
0
 def main(*argv):
     "StackAsLinkedList test program."
     print StackAsLinkedList.main.__doc__
     stack2 = StackAsLinkedList()
     Stack.test(stack2)
     return 0
예제 #3
0
 def main(*argv):
     "StackAsArray test program."
     print StackAsArray.main.__doc__
     stack1 = StackAsArray(5)
     Stack.test(stack1)
     return 0
예제 #4
0
 def main(*argv):
     "StackAsArray test program."
     print StackAsArray.main.__doc__
     stack1 = StackAsArray(5)
     Stack.test(stack1)
     return 0