Exemplo n.º 1
0
        public void CalculateMultiAsign()
        {
            CalculateApp.CalculateService calc = new CalculateApp.CalculateService();
            string input = "1****5*2";
            string aa    = calc.Calculate(input);

            Assert.AreEqual(aa, "10");
        }
Exemplo n.º 2
0
 public void ReturnExceptionWithCharecter()
 {
     CalculateApp.CalculateService calc = new CalculateApp.CalculateService();
     string input = "1+4*5a";
     string aa    = calc.Calculate(input);
 }