public void EmptyStringTest2() { Assert.AreEqual(ReversePolishNotation.GetReversePolishNotation(" "), 0); }
public void TestMethod1() { Assert.AreEqual(ReversePolishNotation.GetReversePolishNotation("5 1 2 + 4 * + 3 -"), 14); }
public void GetException() { Assert.ThrowsException <ArgumentException>(() => ReversePolishNotation.GetReversePolishNotation("5 1 2+ 4 * + 3 -")); }