public void AddPop() { var calc = new StackCountImpl(); calc.Clear(); calc.StackNumbers(); Assert.AreEqual(50, calc.AddPop()); }
public void ClearTest() { var calc = new StackCountImpl(); calc.StackNumbers(); calc.Clear(); Assert.AreEqual(0, calc.stack.Count); }
public void AddTest() { var calc = new StackCountImpl(); calc.Clear(); calc.StackNumbers(); Assert.AreEqual(100, calc.AddAll()); }