public void TestClear() { IRPNCalculator c = new RPNCalculator(); Assert.True(c.Size() == 0); c.Push(5); c.Push(5); Assert.True(c.Size() == 2); c.Clear(); Assert.True(c.Size() == 0); }
public void TestClear() { IRPNCalculator c = new RPNCalculator(); Assert.True(c.Size() == 0); c.Push(5); c.Push(5); Assert.True(c.Size() == 2); c.Clear(); Assert.True(c.Size() == 0); }