public void TrueTest()
        {
            MockExpression expression    = new MockExpression(false);
            NotOperator    notExpression = new NotOperator(expression);

            Assert.IsTrue(notExpression.Evaluate(principal));
        }
Example #2
0
        public void FalseTest()
        {
            MockExpression expression    = new MockExpression(true);
            NotOperator    notExpression = new NotOperator(expression);

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