Example #1
0
 public void ArrayWriteTest()
 {
     ArrayStack stack = new ArrayStack();
     stack.Push(10);
     stack.Push(0);
     stack.Push(100);
     string test = "100 0 10 ";
     Assert.AreEqual(stack.Write(), test);
 }
Example #2
0
 public void ArrayWriteTest()
 {
     ArrayStack stack = new ArrayStack();
     stack.Push(10);
     stack.Push(0);
     stack.Push(100);
     string test = "100 0 10 ";
     Assert.IsTrue(stack.Write() == test);
 }