public void ClearTest() { Stack stack = new Stack(); stack.Push(10); stack.Clear(); Assert.IsTrue(stack.Size() == 0); }
public void SizeTest() { Stack stack = new Stack(); Assert.IsTrue(stack.Size() == 0); }
public void PushTest() { Stack stack = new Stack(); stack.Push(1); Assert.IsTrue(stack.Size() == 1); }