Ejemplo n.º 1
0
        //[InlineData("-10/2", -5.0D)]
        //[InlineData("-10*2", -20.0D)]
        public void Evaluate(string expression, double exceptd)
        {
            var result = MathmaticExpression.EvaluateExpression(expression);

            Assert.Equal(exceptd, result);
        }
        public static void Start()
        {
            var value = MathmaticExpression.EvaluateExpression("5+3*4+5/2");

            Console.WriteLine(value);
        }