Пример #1
0
 public void BasicTest()
 {
     calc.WriteNum(3);
     calc.WriteOperator(Operator.FromName("/"));
     calc.WriteNum(2);
     calc.Evaluate();
     Assert.AreEqual(1.5, calc.CurrentNumbers[0], 1e-7);
 }