Exemple #1
0
 @Test
 public void testPrintStack() {
   Stack<String> stack = new Stack<>();
   stack.push("one");
   stack.push("two");
   stack.push("three");
   stack.push("four");
   AlgUtil.printStack(stack, "test1", 7);
   Stack<String> stack2 = new Stack<>();
   AlgUtil.printStack(stack2, "testempty", 7);
 }