1 parent 743f356 commit 3a95be6Copy full SHA for 3a95be6
1 file changed
vlib/hash/hash_compiles_test.v
@@ -1,6 +1,8 @@
1
import hash
2
3
fn test_wyhash_basic() {
4
+ assert hash.sum64_string('abc', 5).hex_full() == '4b4b66779c7a16f1'
5
+
6
// Official wyhash final v4.2 test vectors (seed=0, default secret)
7
assert hash.sum64_string('', 0).hex_full() == '93228a4de0eec5a2'
8
assert hash.sum64_string('a', 1).hex_full() == 'c5bac3db178713c4'
0 commit comments