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

Function test_builder_prompt_hash_direct

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

Source from the content-addressed store, hash-verified

669
670 #[test]
671 fn test_builder_prompt_hash_direct() {
672 let hash = [42u8; 32];
673 let e = SessionEnvelope::builder("s", "a").prompt_hash(hash).build();
674
675 assert_eq!(e.prompt_hash, Some(hash));
676 }
677
678 // Encode / Decode roundtrip
679

Callers

nothing calls this directly

Calls 2

buildMethod · 0.45
prompt_hashMethod · 0.45

Tested by

no test coverage detected