public void UnaryMinusToStringBinTest() { var exp = new UnaryMinus(new Add(new Number(5), new Number(0))); Assert.Equal("-(5 + 0)", exp.ToString(commoonFormatter)); }
public void UnaryMinusToStringTest() { var exp = new UnaryMinus(new Number(5)); Assert.Equal("-5", exp.ToString(commoonFormatter)); }