pub struct Checker<'a, G: ?Sized> {
pub generator: &'a G,
pub errors: usize,
pub shrinks: Shrinks,
pub seed: Option<u64>,
}Fields§
§generator: &'a GA generator that will provide the values and shrinkers for the checking and shrinking processes.
errors: usizeMaximum number of errors that the results of a check call will contain. When it is reached, the checking process aborts.
Defaults to 1.
shrinks: ShrinksLimits the shrinking process. Defaults to a duration limit of 30 seconds.
seed: Option<u64>Seed for the random number generator used to generate random primitives.