public void ListStackTest() { Assert.AreEqual(calculator.StackCalc(listStack, "10 5 +"), 15); Assert.AreEqual(calculator.StackCalc(arrayStack, "10 5 -"), 5); Assert.AreEqual(calculator.StackCalc(arrayStack, "10 5 /"), 2); Assert.AreEqual(calculator.StackCalc(arrayStack, "10 5 *"), 50); Assert.AreEqual(calculator.StackCalc(arrayStack, "10 5 / 3 3 + +"), 8); }