()
| 1042 | |
| 1043 | #[test] |
| 1044 | fn test_minimal_roundtrip() { |
| 1045 | let a = Attestation::builder("s", make_agent()).timestamp(0).build(); |
| 1046 | let bytes = a.serialize().unwrap(); |
| 1047 | let (loaded, _) = Attestation::deserialize(&bytes).unwrap(); |
| 1048 | assert_eq!(loaded.session_id, "s"); |
| 1049 | assert!(loaded.models.is_empty()); |
| 1050 | assert!(loaded.changes_covered.is_empty()); |
| 1051 | } |
| 1052 | |
| 1053 | #[test] |
| 1054 | fn test_write_read_roundtrip() { |
nothing calls this directly
no test coverage detected