public void PostfixCalcError() { var qs = new Quizzes(); Assert.AreEqual(106, qs.PostFixCalc("5 5 + ja10ja * 2r4 + + +")); }
public void PostfixCalc1() { var qs = new Quizzes(); Assert.AreEqual(100, qs.PostFixCalc("5 5 + 10 *")); }
public void PostfixCalc1c() { var qs = new Quizzes(); Assert.AreEqual(-2, qs.PostFixCalc("8 1 2 3 + - /")); }
public void PostfixCalc1b() { var qs = new Quizzes(); Assert.AreEqual(26, qs.PostFixCalc("2 3 8 * +")); }
public void PostfixCalc1a() { var qs = new Quizzes(); Assert.AreEqual(100, qs.PostFixCalc("5 5 + 10 *")); }