#[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}");
}}