proptest-arbitrary 0.2.1

The Arbitrary trait for proptest and implementations for the standard library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::*;
use std::fs::{DirBuilder};

// TODO: other parts (figure out workable semantics).

arbitrary!(DirBuilder, SMapped<'a, bool, Self>; {
    static_map(any::<bool>(), |recursive| {
        let mut db = DirBuilder::new();
        db.recursive(recursive);
        db
    })
});