()
| 1412 | |
| 1413 | #[test] |
| 1414 | fn test_builder_full() { |
| 1415 | let a = make_attestation(); |
| 1416 | assert_eq!(a.session_id, "session-abc"); |
| 1417 | assert_eq!(a.cost_usd, 0.57); |
| 1418 | assert_eq!(a.duration_api_ms, 172_000); |
| 1419 | assert_eq!(a.duration_wall_ms, 2_354_000); |
| 1420 | assert_eq!(a.code_changes.lines_added, 263); |
| 1421 | assert_eq!(a.code_changes.lines_removed, 8); |
| 1422 | assert_eq!(a.models.len(), 2); |
| 1423 | assert_eq!(a.changes_covered.len(), 3); |
| 1424 | assert_eq!(a.timestamp, 1739290034); |
| 1425 | } |
| 1426 | |
| 1427 | #[test] |
| 1428 | fn test_builder_with_previous() { |
nothing calls this directly
no test coverage detected