MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_envelope_prompt_summary

Function test_envelope_prompt_summary

atomic-agent/src/record/tests.rs:793–803  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

791
792#[test]
793fn test_envelope_prompt_summary() {
794 let session = make_session();
795 let event = make_event();
796 let options = make_options(&session, &event);
797
798 let env = build_turn_envelope(&options, &[]);
799 assert_eq!(
800 env.prompt_summary.as_deref(),
801 Some("Fix the authentication bug in login.rs")
802 );
803}
804
805#[test]
806fn test_envelope_prompt_hash() {

Callers

nothing calls this directly

Calls 4

make_eventFunction · 0.85
make_optionsFunction · 0.85
build_turn_envelopeFunction · 0.85
make_sessionFunction · 0.70

Tested by

no test coverage detected