Esempio 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");
        }
Esempio n. 2
0
 public void ReturnExceptionWithCharecter()
 {
     CalculateApp.CalculateService calc = new CalculateApp.CalculateService();
     string input = "1+4*5a";
     string aa    = calc.Calculate(input);
 }