core.matrix
core.matrix copied to clipboard
Property based testing
We have a few tests that use SimpleCheck for property based testing. See:
https://github.com/mikera/core.matrix/blob/develop/src/test/clojure/clojure/core/matrix/properties.clj
It seems to work quite well, and seems to be well suited to confirming properties of core.matrix implementations.
Ideally, we should extend this to a more comprehensive test suite. This would provide more comprehensive testing of edge cases than the current compliance-checker code, which is restricted to a fairly narrow set of instance based tests.