()
| 891 | |
| 892 | #[test] |
| 893 | fn test_builder_full() { |
| 894 | let a = make_attestation(); |
| 895 | assert_eq!(a.session_id, "session-abc"); |
| 896 | assert_eq!(a.cost_usd, 0.57); |
| 897 | assert_eq!(a.duration_api_ms, 172_000); |
| 898 | assert_eq!(a.duration_wall_ms, 2_354_000); |
| 899 | assert_eq!(a.code_changes.lines_added, 263); |
| 900 | assert_eq!(a.code_changes.lines_removed, 8); |
| 901 | assert_eq!(a.models.len(), 2); |
| 902 | assert_eq!(a.changes_covered.len(), 3); |
| 903 | assert_eq!(a.timestamp, 1739290034); |
| 904 | } |
| 905 | |
| 906 | #[test] |
| 907 | fn test_builder_with_previous() { |
nothing calls this directly
no test coverage detected