public void EvaluateReturnsFalseIfSubExpressionDoesntReturnUriRef() { IsIri expression = new IsIri(new GraphMemberExpression(new BlankNode())); Bindings bindings = new Bindings(); Assert.AreEqual(false, expression.Evaluate(bindings)); }
public void EvaluateReturnsTrueIfSubExpressionReturnsUriRef() { IsIri expression = new IsIri(new GraphMemberExpression(new UriRef("dog:scooby"))); Bindings bindings = new Bindings(); Assert.AreEqual(true, expression.Evaluate(bindings)); }