public void CalculateLessTrueTest2() { var parameters = new ParameterCollection() { new Parameter("x", 10) }; var lessThen = new LessOrEqual(new Variable("x"), new Number(10)); Assert.AreEqual(true, lessThen.Calculate(parameters)); }
public void CalculateLessFalseTest() { var parameters = new ParameterCollection() { new Parameter("x", 666) }; var lessThen = new LessOrEqual(new Variable("x"), new Number(10)); Assert.Equal(false, lessThen.Execute(parameters)); }