()
| 637 | |
| 638 | #[test] |
| 639 | fn test_provenance_prompt_hash() { |
| 640 | let session = make_session(); |
| 641 | let event = make_event(); |
| 642 | let options = make_options(&session, &event); |
| 643 | |
| 644 | let prov = build_turn_provenance(&options); |
| 645 | assert!(prov.prompt.hash().is_some()); |
| 646 | // Should be a hash, not the full text (privacy) |
| 647 | assert!(!prov.prompt.has_full_text()); |
| 648 | } |
| 649 | |
| 650 | #[test] |
| 651 | fn test_provenance_no_prompt() { |
nothing calls this directly
no test coverage detected