#[test]
fn {name}() -> Result<(), CompilationError> {{
let input_schema : serde_yaml::Value = serde_yaml::from_str(
include_str!("{path}/input-schema.yml")).
unwrap();
let expected_json_schema : serde_json::Value = serde_json::from_str(
include_str!("{path}/output-json-schema.json")).
unwrap();
let expected_ui_object : serde_json::Value = serde_json::from_str(
include_str!("{path}/output-uiobject.json")).
unwrap();
let (json_schema, ui_object) = Generator::with(input_schema)?.generate();
assert_eq!(expected_json_schema, json_schema, "Actual(right) json schema different than expected (left)");
assert_eq!(expected_ui_object, ui_object, "Actual(right) ui object different than expected (left)");
Ok(())
}}