()
| 616 | |
| 617 | #[test] |
| 618 | fn test_record_with_ai_assisted() { |
| 619 | let record = Record::new() |
| 620 | .with_ai_assisted(true) |
| 621 | .with_ai_provider("anthropic") |
| 622 | .with_ai_model("claude-sonnet-4-20250514"); |
| 623 | |
| 624 | assert!(record.ai_assisted); |
| 625 | assert_eq!(record.ai_provider, Some("anthropic".to_string())); |
| 626 | assert_eq!( |
| 627 | record.ai_model, |
| 628 | Some("claude-sonnet-4-20250514".to_string()) |
| 629 | ); |
| 630 | } |
| 631 | |
| 632 | #[test] |
| 633 | fn test_record_ai_flags_default() { |
nothing calls this directly
no test coverage detected