示例#1
0
        public void CalculateExpressionTest(string input, int expected)
        {
            expressionBuilder.CreateExpression(input);
            var expression = expressionBuilder.CreateExpression(input);

            var actual = expression.Evaluate();

            Assert.AreEqual(expected, actual);
        }