Example #1
0
 public void PopTest()
 {
     StackClass stack = new StackClass();
     stack.Pop(56);
     stack.Push(4);
     stack.Pop(4);
     Assert.IsTrue(stack.IsEmpty());
     stack.Push(4);
     stack.Pop(48);
 }
Example #2
0
 public void PushTest()
 {
     StackClass stack = new StackClass();
     stack.Push(7);
     Assert.IsFalse(stack.IsEmpty());
 }