public void Delegates_Equal_variable() { var node = new NodeFactory().CreateVariableNode(string.Empty); var wrapper = new MockWrapperNode(node); var expected = node.Equals(node); var actual = wrapper.Equals(node); Assert.Equal(expected, actual); }
public void Delegates_Equal_graphLiteral() { var node = new NodeFactory().CreateGraphLiteralNode(); var wrapper = new MockWrapperNode(node); var expected = node.Equals(node); var actual = wrapper.Equals(node); Assert.Equal(expected, actual); }
public void Delegates_Equal_uri() { var node = new NodeFactory().CreateUriNode(UriFactory.Create("http://example.com/")); var wrapper = new MockWrapperNode(node); var expected = node.Equals(node); var actual = wrapper.Equals(node); Assert.Equal(expected, actual); }
public void Delegates_Equal_node() { var node = new NodeFactory().CreateBlankNode() as INode; var wrapper = new MockWrapperNode(node); var expected = node.Equals(node); var actual = wrapper.Equals(node); Assert.Equal(expected, actual); }