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

Function test_is_session_envelope_valid

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

Source from the content-addressed store, hash-verified

789
790 #[test]
791 fn test_is_session_envelope_valid() {
792 let bytes = make_envelope().encode().unwrap();
793 assert!(SessionEnvelope::is_session_envelope(&bytes));
794 }
795
796 #[test]
797 fn test_is_session_envelope_minimal() {

Callers

nothing calls this directly

Calls 3

make_envelopeFunction · 0.85
encodeMethod · 0.80
unwrapMethod · 0.45

Tested by

no test coverage detected