public void TestOnePlusOne()
        {
            string expression = "11+";

            Assert.AreEqual(2, calculator.Evaluate(expression));
        }
Example #2
0
 public void ShouldThrowErrorOnInvalidExpression()
 {
     _calculator.Evaluate("xyz dfa fad");
 }