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

Function test_has_prompt

atomic-core/src/change/envelope.rs:835–846  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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