include!("../testdata/portable_conformance.rs");
fn main() {
let pure: Vec<_> = PURE_CASES
.iter()
.map(|case| {
serde_json::json!({
"id": case.id,
"source": case.source,
"entry": case.entry,
"input_json": case.input_json,
"expected_json": case.expected_json,
})
})
.collect();
let failures: Vec<_> = RUNTIME_FAILURE_CASES
.iter()
.map(|case| {
serde_json::json!({
"id": case.id,
"source": case.source,
"entry": case.entry,
"input_json": case.input_json,
"expected_code": case.expected_code,
})
})
.collect();
println!(
"{}",
serde_json::json!({"pure": pure, "failures": failures})
);
}