public void EvaluateSimpleDivisionSymbolicAndValueResult() { var addition = new Division(new Number("a"), new Number("4.6")); Assert.AreEqual("a/4.6", ((Number)addition.Evaluate()).ToString()); }
public void EvaluateSimpleDivisionValueResult() { var addition = new Division(new Number("2.6"), new Number("4.8")); Assert.AreEqual("0.541666666666667", ((Number)addition.Evaluate()).ToString()); }