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;

// A compile error needs to occur on line 6, not on line 4.
#[derive(Debug, Arbitrary)]
struct X {
    #[strategy((0u8..10u8))]
    x: u32,
}

fn main() {}