aboutsummaryrefslogtreecommitdiff
path: root/tests/hash.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hash.lua')
-rw-r--r--tests/hash.lua13
1 files changed, 1 insertions, 12 deletions
diff --git a/tests/hash.lua b/tests/hash.lua
index 898b0e6..894d284 100644
--- a/tests/hash.lua
+++ b/tests/hash.lua
@@ -3,7 +3,7 @@ llib = require "lullaby"
--llib.io.log = function() end
if table.unpack == nil then
- table.unpack = llib.array.unpack
+ table.unpack = llib.table.unpack
end
local hashes_working = 0
@@ -167,12 +167,7 @@ test("xxh32","meow","6ba6f6f0")
test("xxh64","meow","bc11093a30a6315f")
test("buzhash8","meow","57")
test("buzhash16","meow","0255")
-test("cityhash32","meow","c41a03e9")
-test("cityhash64","meow","e99b592ae1ff868b")
-test("cityhash128","meow","d73f2b9c5501a6524097c5d815f2152")
test("djb2","meow","7c9a913d")
-test("farmhash32","meow","c41a03e9");
-test("farmhash64","meow","e99b592ae1ff868b")
--maybe test fasthash, metrohash, sha512_t and murmur blehh
test("fnv_0","meow","b0850402171532ac")
test("fnv_1","meow","c60a427ebfe83be5")
@@ -184,12 +179,6 @@ test("sdbm","meow","006d50f201921b00")
test("sha512","meow","e88348269bad036160f0d9558b7c5de68163b50e1a6ce46e85ee64692eba074529a4a2b48db4d5c36496e845001e13e6d07c585eacd564defcbf719ec9033e17");
test("sha384","meow","f0bb848a382b5ed5e2f49a46252f6b738c933dc20bb29dc4a5d312e310b395c4fa07f30a8a7380b4a5d367445e0ea8cb")
test("sha512_t", "meow", "ad5e403e0d74532187f4e1665c7e705ab5eb3c2fe07ae73a3ff998b2", {224})
-test("fasthash64","meow","7b9e494cf11ee113")
-test("fasthash32","meow","758097c7")
-test("metrohash64_v1", "meow", "7435945e80261ed1")
-test("metrohash64_v2","meow","f951647d250e36f0")
-test("metrohash128_v1","meow","bfd8835cbcc06d2be6fc2c8e5ecbcc26")
-test("metrohash128_v2","meow","6d8634ccf529269297704cba8bf8707a")
test("murmur1_32","meow","743df82f")
test("murmur2_32","meow","05d01b88")
test("blake2b","meow","9919ae53fbea6c5da68e51b6e19a890fdbc01baf97fff29efd7efaa7163ea7aa205109b818bde29da815e16b869dbb2cb1b367ed1027f52116287d760808a43d")