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

Function test_envelope_prompt_summary

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

Source from the content-addressed store, hash-verified

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