diviner 0.2.0

Diviner, a deterministic testing framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
use diviner::Environment;

fn main() {
    let result = Environment::new()
        .block_on(async {
            let f = async { 7 };
            f.await
        })
        .expect("block on failure!");
    assert!(result == 7, "Returned result is not 7!");
}