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

Function test_too_long

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

Source from the content-addressed store, hash-verified

475 expected = "This BLAKE3 implementation doesn't support messages longer than 1024 bytes"
476 )]
477 fn test_too_long() {
478 let message = [0x00; 1025];
479 let expected_hash = *blake3::hash(&message).as_bytes();
480 verify_blake_output_with_limbs(&message, expected_hash, &USEFUL_LIMB_LENGTHS);
481 }
482
483 #[test]
484 fn test_single_byte() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected