Crate quickcheck [−] [src]
This crate is a port of Haskell's QuickCheck.
For detailed examples, please see the README.
Macros
quickcheck |
A macro for writing quickcheck tests. |
Structs
QuickCheck |
The main QuickCheck type for setting configuration and running QuickCheck. |
StdGen |
StdGen is the default implementation of |
TestResult |
Describes the status of a single instance of a test. |
Traits
Arbitrary |
|
Gen |
|
Rng |
A random number generator. |
Testable |
|
Functions
empty_shrinker |
Creates a shrinker with zero elements. |
quickcheck |
Convenience function for running QuickCheck. |
single_shrinker |
Creates a shrinker with a single element. |