Skip to main content

sample

function

clojure.test.check.generators/sample

(sample [generator] [generator num-samples])
Return a sequence of `num-samples` (default 10) realized values from `generator`. The sequence starts with small values from the generator, which probably do not reflect the variety of values that will be generated during a longer test run. Note that this function is a dev helper and is not meant to be used to build other generators.

No examples yet. Be the first to add one!