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

Function test_builder_prompt_hash_direct

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

Source from the content-addressed store, hash-verified

650
651 #[test]
652 fn test_builder_prompt_hash_direct() {
653 let hash = [42u8; 32];
654 let e = SessionEnvelope::builder("s", "a").prompt_hash(hash).build();
655
656 assert_eq!(e.prompt_hash, Some(hash));
657 }
658
659 // Encode / Decode roundtrip
660

Callers

nothing calls this directly

Calls 2

buildMethod · 0.45
prompt_hashMethod · 0.45

Tested by

no test coverage detected