aysylu / loom

Graph library for Clojure. Mailing list https://groups.google.com/forum/#!forum/loom-clj
http://aysy.lu/loom/
887 stars 108 forks source link

Create initial compliance test #73

Closed drone29a closed 8 years ago

drone29a commented 9 years ago

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.

aysylu commented 8 years ago

Fantastic! Thanks for your contribution!