Skip to content

Commit 3a95be6

Browse files
committed
ops
1 parent 743f356 commit 3a95be6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

vlib/hash/hash_compiles_test.v

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import hash
22

33
fn test_wyhash_basic() {
4+
assert hash.sum64_string('abc', 5).hex_full() == '4b4b66779c7a16f1'
5+
46
// Official wyhash final v4.2 test vectors (seed=0, default secret)
57
assert hash.sum64_string('', 0).hex_full() == '93228a4de0eec5a2'
68
assert hash.sum64_string('a', 1).hex_full() == 'c5bac3db178713c4'

0 commit comments

Comments
 (0)