Generator for invalid input (should fail the assertion)
OptionalinvalidGenerator for invalid input in negated form (should fail the negated assertion)
OptionalnumNumber of runs before success: 100 by default
OptionalrandomType of random number generator to use.
OptionalrunGenerator for valid input (should pass the assertion)
OptionalvalidGenerator for valid input in negated form (should pass the negated assertion)
Configuration for property-based tests that extends fast-check's Parameters.
Split into four different variants to allow specific configuration for valid (non-throwing) and invalid (throwing) cases, both for normal and negated assertions.
Generally, only
validandinvalidare needed, since for most assertions,validwill be the same asinvalidNegated, andinvalidwill be the same asvalidNegated.