bridgekeeper icon indicating copy to clipboard operation
bridgekeeper copied to clipboard

Write some property-based tests

Open daisylb opened this issue 8 years ago • 0 comments

Ideally, I'd like to have a couple of tests that use Hypothesis to generate arbitrary predicates and then assert some invariants about them (things like the consistency of filter() vs apply(), invariants to do with UNIVERSAL and EMPTY, the correctness of the And, Or and Not predicates, and so on). Writing the strategies for this might be a bit complicated though.

daisylb avatar Dec 11 '17 04:12 daisylb