The simple tests from loom.test.graph were extracted to loom.compliance-tester and transformed to functions which take an empty graph. This empty graph can be used to build a graph for testing as long as it adheres to the required Loom protocols.
This enables third-party implementations of Loom protocols to use the same tests as the default implementations.
These compliance tests could be further expanded, perhaps adding the tests from loom.test.alg would be a practical way to maximize coverage.
The simple tests from
loom.test.graph
were extracted toloom.compliance-tester
and transformed to functions which take an empty graph. This empty graph can be used to build a graph for testing as long as it adheres to the required Loom protocols.This enables third-party implementations of Loom protocols to use the same tests as the default implementations.
These compliance tests could be further expanded, perhaps adding the tests from
loom.test.alg
would be a practical way to maximize coverage.