public void CalculateTest4() { var exp = new XOr(new Bool(false), new Bool(true)); Assert.AreEqual(true, exp.Calculate()); }
public void CalculateTest2() { IExpression exp = new XOr(new Number(1), new Number(2.5)); Assert.AreEqual(2, exp.Calculate()); }