demes 0.7.0

rust implementation of demes specification
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[test]
fn {name}() {{
    let yaml = "{path}";
    let file = std::fs::File::open(yaml).unwrap();
    let result = demes::load(file);
    assert!(result.is_ok());
    let graph = result.unwrap();
    validate_names_in_graph(&graph);
    round_trip_equality(&graph);
    #[cfg(feature = "json")]
    json_roundtrip(&graph, "{path}");
    #[cfg(feature = "toml")]
    toml_roundtrip(&graph, "{path}");
}}