MCPcopy Create free account
hub / github.com/BitVM/BitVM / test_zero_length

Function test_zero_length

bitvm/src/hash/blake3.rs:460–464  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

458
459 #[test]
460 fn test_zero_length() {
461 let message = [];
462 let expected_hash = *blake3::hash(&message).as_bytes();
463 verify_blake_output_with_limbs(&message, expected_hash, &USEFUL_LIMB_LENGTHS);
464 }
465
466 #[test]
467 fn test_max_length() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected