public void ArrayClearTest() { ArrayStack stack = new ArrayStack(); stack.Push(10); stack.Clear(); Assert.IsTrue(stack.Size() == 0); }
public void ArraySizeTest() { ArrayStack stack = new ArrayStack(); Assert.AreEqual(0, stack.Size()); }
public void ArrayPushTest() { ArrayStack stack = new ArrayStack(); stack.Push(1); Assert.IsTrue(stack.Size() == 1); }