(for-all binding-form & facts)
(for-all name doc-string binding-form opts-map & facts)
Check facts using values generated using test.check
Options :seed used to re-run previous checks :max-size controls the size of generated vlues :num-tests how many times to run the checks
(for-all 'name "doc string" [pos-int gen/s-pos-int] {:num-tests 10} (fact pos-int => integer?))
Check facts using values generated using test.check Options :seed used to re-run previous checks :max-size controls the size of generated vlues :num-tests how many times to run the checks (for-all 'name "doc string" [pos-int gen/s-pos-int] {:num-tests 10} (fact pos-int => integer?))
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |