Beispiel #1
0
 private bool EvalulateExpression(string expression)
 {
     Subject.Inspect();
     return(ExpressionEvaluator.Evaluate(expression, Subject));
 }
        public void TestWrongEnum()
        {
            var expr = "Gender Equals? \"FEMALE\"";

            Assert.IsFalse(ExpressionEvaluator.Evaluate(expr, Person));
        }