test-strategy 0.4.5

Procedural macro to easily write higher-order strategies in proptest.
Documentation
1
2
3
4
5
6
7
8
9
10
use test_strategy::Arbitrary;
#[derive(Arbitrary, Debug, PartialEq, Clone)]
enum TestEnum {
    #[weight(1.1)]
    X,
    #[weight(2)]
    Y,
}

fn main() {}