public void TrueTest() { MockExpression expression = new MockExpression(false); NotOperator notExpression = new NotOperator(expression); Assert.IsTrue(notExpression.Evaluate(principal)); }
public void FalseTest() { MockExpression expression = new MockExpression(true); NotOperator notExpression = new NotOperator(expression); Assert.IsFalse(notExpression.Evaluate(this.principal)); }