public void PerformLogicWithTrueInitializationAndTrue() { var orOperator = new OrOperator(true); Assert.IsNotNull(orOperator); var result = orOperator.PerformLogic(true); Assert.IsTrue(orOperator.Result); Assert.AreEqual(orOperator.Result, result); }
public void PerformLogicWithFalseInitializationAndFalse() { var orOperator = new OrOperator(false); Assert.IsNotNull(orOperator); var result = orOperator.PerformLogic(false); Assert.IsFalse(orOperator.Result); Assert.AreEqual(orOperator.Result, result); }