()
| 640 | |
| 641 | #[test] |
| 642 | fn test_record_with_ai_assisted() { |
| 643 | let record = Record::new() |
| 644 | .with_ai_assisted(true) |
| 645 | .with_ai_provider("anthropic") |
| 646 | .with_ai_model("claude-sonnet-4-20250514"); |
| 647 | |
| 648 | assert!(record.ai_assisted); |
| 649 | assert_eq!(record.ai_provider, Some("anthropic".to_string())); |
| 650 | assert_eq!( |
| 651 | record.ai_model, |
| 652 | Some("claude-sonnet-4-20250514".to_string()) |
| 653 | ); |
| 654 | } |
| 655 | |
| 656 | #[test] |
| 657 | fn test_record_ai_flags_default() { |
nothing calls this directly
no test coverage detected