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

Function test_encode_decode_roundtrip_minimal

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

Source from the content-addressed store, hash-verified

668
669 #[test]
670 fn test_encode_decode_roundtrip_minimal() {
671 let original = make_minimal_envelope();
672 let bytes = original.encode().unwrap();
673 let decoded = SessionEnvelope::decode(&bytes).unwrap();
674 assert_eq!(original, decoded);
675 }
676
677 #[test]
678 fn test_encode_decode_roundtrip_with_prompt_hash() {

Callers

nothing calls this directly

Calls 3

make_minimal_envelopeFunction · 0.85
encodeMethod · 0.80
unwrapMethod · 0.45

Tested by

no test coverage detected