fuzz-test-failures ( generator: ( -- ..a ) predicate: ( ..a -- ? ) -- failures )


Vocabulary
tools.test.fuzz

Inputs
generatoran object
predicatean object


Outputs
failuresan object


Word description
Similar to fuzz-test, but returns a list of failing inputs generated by the generator quotation.

Definition


: fuzz-test-failures
( generator: ( -- ..a ) predicate: ( ..a -- ? ) -- failures )
[ fuzz-test-trials get ] 2dip fuzz-test-failures* ; inline