Crate quickcheck

Source
Expand description

This crate is a port of Haskell’s QuickCheck.

For detailed examples, please see the README.

Macros§

Structs§

  • The main QuickCheck type for setting configuration and running QuickCheck.
  • StdGen is the default implementation of Gen.
  • Describes the status of a single instance of a test.

Traits§

  • Arbitrary describes types whose values can be randomly generated and shrunk.
  • Gen wraps a rand::Rng with parameters to control the distribution of random values.
  • A random number generator.
  • Testable describes types (e.g., a function) whose values can be tested.

Functions§