monkey_test 0.9.2

A property based testing (PBT) tool like QuickCheck, ScalaCheck and similar libraries, for the Rust programming language.
Documentation
1
2
3
4
5
6
7
8
9
use crate::BoxShrink;

/// Empty shrinker not producing any smaller examples given original example.
pub fn none<E>() -> BoxShrink<E>
where
    E: Clone + 'static,
{
    crate::shrinks::from_fn(|_original| std::iter::empty())
}