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

Function test_envelope_prompt_summary

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

Source from the content-addressed store, hash-verified

799
800#[test]
801fn test_envelope_prompt_summary() {
802 let session = make_session();
803 let event = make_event();
804 let options = make_options(&session, &event);
805
806 let env = build_turn_envelope(&options, &[]);
807 assert_eq!(
808 env.prompt_summary.as_deref(),
809 Some("Fix the authentication bug in login.rs")
810 );
811}
812
813#[test]
814fn 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