Crate rs_quickcheck_util

Source
Expand description

This crate provides some useful helper functions and macros based on quickcheck.

Macros§

shrink_a_field
Shrinks one field of an object.
shrink_a_map_field
Shrinks a mapping field whose key is determined by the value.

Structs§

Unshrinkable
Unshrinkable suppresses element-shrinking of quickcheck.

Functions§

gen_bytes
Generate a sequence with exponentiall distributed length. It is often more efficient to find bugs by covering short inputs.
shuffle
Uniformly shuffle a slice.