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

Function test_encode_decode_roundtrip_full

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

Source from the content-addressed store, hash-verified

660
661 #[test]
662 fn test_encode_decode_roundtrip_full() {
663 let original = make_envelope();
664 let bytes = original.encode().unwrap();
665 let decoded = SessionEnvelope::decode(&bytes).unwrap();
666 assert_eq!(original, decoded);
667 }
668
669 #[test]
670 fn test_encode_decode_roundtrip_minimal() {

Callers

nothing calls this directly

Calls 3

make_envelopeFunction · 0.85
encodeMethod · 0.80
unwrapMethod · 0.45

Tested by

no test coverage detected