You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/rust/dispatch.rs
+65Lines changed: 65 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -473,4 +473,69 @@ mod tests {
473
473
let json = serde_json::to_string(&result).unwrap();
474
474
assert!(json.contains("Level4"));
475
475
}
476
+
477
+
#[test]
478
+
fntest_dispatch_result_deserialization(){
479
+
let json = r#"{"verified":false,"trust_level":"Level1","provers_used":["Z3"],"proof_time_ms":100,"goals_remaining":1,"axiom_report":null,"certificate_hash":null,"message":"Failed","cross_checked":false}"#;
480
+
let result:DispatchResult = serde_json::from_str(json).unwrap();
0 commit comments