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

Function test_is_session_envelope_valid

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

make_envelopeFunction · 0.85
unwrapMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected