public void CalculateTest3() { var exp = new Not(new Bool(true)); Assert.AreEqual(false, exp.Calculate()); }
public void CalculateTest2() { var exp = new Not(new Number(2.5)); Assert.AreEqual(-4, exp.Calculate()); }
public void CalculateTest1() { var exp = new Not(new Number(2)); Assert.AreEqual(-3, exp.Calculate()); }
public void ExecuteTest3() { var exp = new Not(new Bool(true)); Assert.Equal(false, exp.Execute()); }
public void ExecuteTest2() { var exp = new Not(new Number(2.5)); Assert.Equal(-4.0, exp.Execute()); }
public void ExecuteTest1() { var exp = new Not(new Number(2)); Assert.Equal(-3.0, exp.Execute()); }