예제 #1
0
        public void EvaluateReturnsFalseIfSubExpressionDoesntReturnUriRef()
        {
            IsIri    expression = new IsIri(new GraphMemberExpression(new BlankNode()));
            Bindings bindings   = new Bindings();

            Assert.AreEqual(false, expression.Evaluate(bindings));
        }
예제 #2
0
        public void EvaluateReturnsTrueIfSubExpressionReturnsUriRef()
        {
            IsIri    expression = new IsIri(new GraphMemberExpression(new UriRef("dog:scooby")));
            Bindings bindings   = new Bindings();

            Assert.AreEqual(true, expression.Evaluate(bindings));
        }