diff --git a/blockset/src/sha224.rs b/blockset/src/sha224.rs index d8bf4a17..060fb33d 100644 --- a/blockset/src/sha224.rs +++ b/blockset/src/sha224.rs @@ -179,4 +179,12 @@ mod tests { [0xd14a028c, 0x2a3a2bc9, 0x476102bb, 0x288234c4, 0x15a2b01f, 0x828ea62a, 0xc5b3e42f] ); } + + #[test] + fn runtime_test() { + assert_eq!( + compress([0x8000_0000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), + [0xd14a028c, 0x2a3a2bc9, 0x476102bb, 0x288234c4, 0x15a2b01f, 0x828ea62a, 0xc5b3e42f] + ); + } }