()
| 1563 | |
| 1564 | #[test] |
| 1565 | fn test_minimal_roundtrip() { |
| 1566 | let a = Attestation::builder("s", make_agent()).timestamp(0).build(); |
| 1567 | let bytes = a.serialize().unwrap(); |
| 1568 | let (loaded, _) = Attestation::deserialize(&bytes).unwrap(); |
| 1569 | assert_eq!(loaded.session_id, "s"); |
| 1570 | assert!(loaded.models.is_empty()); |
| 1571 | assert!(loaded.changes_covered.is_empty()); |
| 1572 | } |
| 1573 | |
| 1574 | #[test] |
| 1575 | fn test_write_read_roundtrip() { |
nothing calls this directly
no test coverage detected