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));
        }
 public void TrueTest()
 {
     MockExpression expression = new MockExpression(false);
     NotOperator notExpression = new NotOperator(expression);
     Assert.IsTrue(notExpression.Evaluate(principal));
 }
Beispiel #4
0
 public void FalseTest()
 {
     MockExpression expression = new MockExpression(true);
     NotOperator notExpression = new NotOperator(expression);
     Assert.IsFalse(notExpression.Evaluate(this.principal));
 }