public void ExecuteTest2() { var nor = new NOr(new Bool(false), new Bool(false)); Assert.True((bool)nor.Execute()); }
public void ExecuteResultIsNotSupported() { var exp = new NOr(new Number(1), new Number(2)); Assert.Throws <ResultIsNotSupportedException>(() => exp.Execute()); }
public void ExecuteTest2() { var nor = new NOr(new Bool(false), new Bool(false)); Assert.Equal(true, nor.Execute()); }