Ejemplo n.º 1
0
 public void EvaluateSimpleMultiplicationSymbolicAndValueResult()
 {
     var addition = new Multiplication(new Number("a"), new Number("4.6"));
     Assert.AreEqual("a*4.6", ((Number)addition.Evaluate()).ToString());
 }
Ejemplo n.º 2
0
 public void EvaluateSimpleMultiplicationValueResult()
 {
     var addition = new Multiplication(new Number("2.6"), new Number("4.8"));
     Assert.AreEqual("12.48", ((Number)addition.Evaluate()).ToString());
 }