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

Function test_has_prompt

atomic-agent/src/envelope.rs:836–847  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

834
835 #[test]
836 fn test_has_prompt() {
837 let e = make_envelope();
838 assert!(e.has_prompt());
839
840 let e = make_minimal_envelope();
841 assert!(!e.has_prompt());
842
843 let e = SessionEnvelope::builder("s", "a")
844 .prompt_summary("")
845 .build();
846 assert!(!e.has_prompt());
847 }
848
849 #[test]
850 fn test_is_session_complete() {

Callers

nothing calls this directly

Calls 4

make_envelopeFunction · 0.85
make_minimal_envelopeFunction · 0.85
buildMethod · 0.45
prompt_summaryMethod · 0.45

Tested by

no test coverage detected