equal
deleted
inserted
replaced
2344 \isa{quickcheck{\isaliteral{5F}{\isacharunderscore}}exhaustive{\isaliteral{5F}{\isacharunderscore}}active}, \isa{quickcheck{\isaliteral{5F}{\isacharunderscore}}random{\isaliteral{5F}{\isacharunderscore}}active}, |
2344 \isa{quickcheck{\isaliteral{5F}{\isacharunderscore}}exhaustive{\isaliteral{5F}{\isacharunderscore}}active}, \isa{quickcheck{\isaliteral{5F}{\isacharunderscore}}random{\isaliteral{5F}{\isacharunderscore}}active}, |
2345 \isa{quickcheck{\isaliteral{5F}{\isacharunderscore}}narrowing{\isaliteral{5F}{\isacharunderscore}}active} are set to true. |
2345 \isa{quickcheck{\isaliteral{5F}{\isacharunderscore}}narrowing{\isaliteral{5F}{\isacharunderscore}}active} are set to true. |
2346 \item[\isa{size}] specifies the maximum size of the search space |
2346 \item[\isa{size}] specifies the maximum size of the search space |
2347 for assignment values. |
2347 for assignment values. |
2348 |
2348 |
|
2349 \item[\isa{genuine{\isaliteral{5F}{\isacharunderscore}}only}] sets quickcheck only to return genuine |
|
2350 counterexample, but not potentially spurious counterexamples due |
|
2351 to underspecified functions. |
|
2352 |
2349 \item[\isa{eval}] takes a term or a list of terms and evaluates |
2353 \item[\isa{eval}] takes a term or a list of terms and evaluates |
2350 these terms under the variable assignment found by quickcheck. |
2354 these terms under the variable assignment found by quickcheck. |
2351 |
2355 |
2352 \item[\isa{iterations}] sets how many sets of assignments are |
2356 \item[\isa{iterations}] sets how many sets of assignments are |
2353 generated for each particular size. |
2357 generated for each particular size. |
2361 instantiate type variables. |
2365 instantiate type variables. |
2362 |
2366 |
2363 \item[\isa{report}] if set quickcheck reports how many tests |
2367 \item[\isa{report}] if set quickcheck reports how many tests |
2364 fulfilled the preconditions. |
2368 fulfilled the preconditions. |
2365 |
2369 |
2366 \item[\isa{quiet}] if not set quickcheck informs about the |
2370 \item[\isa{quiet}] if set quickcheck does not output anything |
2367 current size for assignment values. |
2371 while testing. |
|
2372 |
|
2373 \item[\isa{verbose}] if set quickcheck informs about the |
|
2374 current size and cardinality while testing. |
2368 |
2375 |
2369 \item[\isa{expect}] can be used to check if the user's |
2376 \item[\isa{expect}] can be used to check if the user's |
2370 expectation was met (\isa{no{\isaliteral{5F}{\isacharunderscore}}expectation}, \isa{no{\isaliteral{5F}{\isacharunderscore}}counterexample}, or \isa{counterexample}). |
2377 expectation was met (\isa{no{\isaliteral{5F}{\isacharunderscore}}expectation}, \isa{no{\isaliteral{5F}{\isacharunderscore}}counterexample}, or \isa{counterexample}). |
2371 |
2378 |
2372 \end{description} |
2379 \end{description} |