RDF.Test.Assertions (RDF.ex v2.1.0)
View SourceAssertions for ExUnit tests.
Summary
Functions
Asserts that two RDF graphs or datasets are isomorphic.
Functions
Asserts that two RDF graphs or datasets are isomorphic.
This assertion checks if two RDF graphs or datasets are isomorphic
using RDF.Dataset.isomorphic?/2
. In case of a failure, it displays
a diff of the graphs.
Examples
assert_rdf_isomorphic actual_graph, expected_graph
assert_rdf_isomorphic actual_dataset, expected_dataset
assert_rdf_isomorphic actual_dataset, expected_graph