Test output for hashes [fail]
Testing time: 0s
/root/salmonella-run-publish/chicken/bin/csi -script run.scm < /dev/null
-- testing Hash Functions ----------------------------------------------------
-- testing *Hash Half Length ---------------------------------------------
RJMXHash ......................................................... [ FAIL]
expected 1495738488.0 but got 127900314
(*RJMXHash TSTSTR TSTSTR-HALF-LEN 0)
TWMXHash ......................................................... [ FAIL]
expected 1783737257.0 but got 126978343
(*TWMXHash TSTSTR TSTSTR-HALF-LEN 0)
TWSHMXHash ....................................................... [ FAIL]
expected 4294724170.0 but got 867102166
(*TWSHMXHash TSTSTR TSTSTR-HALF-LEN 0)
TWSHMLMXHash ..................................................... [ FAIL]
expected 3316553819.0 but got 1376963935.0
(*TWSHMLMXHash TSTSTR TSTSTR-HALF-LEN 0)
TWMGMXHash ....................................................... [ FAIL]
expected 3799230039.0 but got 3106396795.0
(*TWMGMXHash TSTSTR TSTSTR-HALF-LEN 0)
RSHash ........................................................... [ PASS]
JSHash ........................................................... [ PASS]
PJWHash .......................................................... [ PASS]
ELFHash .......................................................... [ PASS]
BKDRHash ......................................................... [ PASS]
SDBMHash ......................................................... [ PASS]
DJBHash .......................................................... [ PASS]
NDJBHash ......................................................... [ PASS]
DEKHash .......................................................... [ PASS]
APHash ........................................................... [ PASS]
CRCHash .......................................................... [ PASS]
PHSFHash ......................................................... [ FAIL]
expected 4232571984.0 but got 1325445785.0
(*PHSFHash TSTSTR TSTSTR-HALF-LEN 0)
FNVHash .......................................................... [ PASS]
FNVAHash ......................................................... [ PASS]
BRPHash .......................................................... [ PASS]
PYHash ........................................................... [ PASS]
RJL3Hash ......................................................... [ FAIL]
expected 1304064403.0 but got 2943869695.0
(*RJL3Hash TSTSTR TSTSTR-HALF-LEN 0)
ISPLHash ......................................................... [ PASS]
23 tests completed in 0.007 seconds.
7 failures (30.4%).
16 out of 23 (69.6%) tests passed.
-- done testing *Hash Half Length ----------------------------------------
-- testing Hash Full Length ----------------------------------------------
RJMXHash ......................................................... [ PASS]
TWMXHash ......................................................... [ PASS]
TWSHMXHash ....................................................... [ PASS]
TWSHMLMXHash ..................................................... [ PASS]
TWMGMXHash ....................................................... [ PASS]
RSHash ........................................................... [ PASS]
JSHash ........................................................... [ PASS]
PJWHash .......................................................... [ PASS]
ELFHash .......................................................... [ PASS]
BKDRHash ......................................................... [ PASS]
SDBMHash ......................................................... [ PASS]
DJBHash .......................................................... [ PASS]
NDJBHash ......................................................... [ PASS]
DEKHash .......................................................... [ PASS]
APHash ........................................................... [ PASS]
CRCHash .......................................................... [ PASS]
PHSFHash ......................................................... [ PASS]
FNVHash .......................................................... [ PASS]
FNVAHash ......................................................... [ PASS]
BRPHash .......................................................... [ PASS]
PYHash ........................................................... [ PASS]
RJL3Hash ......................................................... [ PASS]
ISPLHash ......................................................... [ PASS]
23 tests completed in 0.002 seconds.
23 out of 23 (100%) tests passed.
-- done testing Hash Full Length -----------------------------------------
-- testing Hash Length Arg -----------------------------------------------
RJMXHash ......................................................... [ PASS]
TWMXHash ......................................................... [ PASS]
TWSHMXHash ....................................................... [ PASS]
TWSHMLMXHash ..................................................... [ PASS]
TWMGMXHash ....................................................... [ PASS]
RSHash ........................................................... [ PASS]
JSHash ........................................................... [ PASS]
PJWHash .......................................................... [ PASS]
ELFHash .......................................................... [ PASS]
BKDRHash ......................................................... [ PASS]
SDBMHash ......................................................... [ PASS]
DJBHash .......................................................... [ PASS]
NDJBHash ......................................................... [ PASS]
DEKHash .......................................................... [ PASS]
APHash ........................................................... [ PASS]
CRCHash .......................................................... [ PASS]
PHSFHash ......................................................... [ PASS]
FNVHash .......................................................... [ PASS]
FNVAHash ......................................................... [ PASS]
BRPHash .......................................................... [ PASS]
PYHash ........................................................... [ PASS]
RJL3Hash ......................................................... [ PASS]
ISPLHash ......................................................... [ PASS]
23 tests completed in 0.001 seconds.
23 out of 23 (100%) tests passed.
-- done testing Hash Length Arg ------------------------------------------
-- testing Digest --------------------------------------------------------
RJMXHash ......................................................... [ PASS]
TWMXHash ......................................................... [ PASS]
TWSHMXHash ....................................................... [ PASS]
TWSHMLMXHash ..................................................... [ PASS]
TWMGMXHash ....................................................... [ PASS]
RSHash ........................................................... [ PASS]
JSHash ........................................................... [ PASS]
PJWHash .......................................................... [ PASS]
ELFHash .......................................................... [ PASS]
BKDRHash ......................................................... [ PASS]
SDBMHash ......................................................... [ PASS]
DJBHash .......................................................... [ PASS]
NDJBHash ......................................................... [ PASS]
DEKHash .......................................................... [ PASS]
APHash ........................................................... [ PASS]
CRCHash .......................................................... [ PASS]
PHSFHash ......................................................... [ PASS]
FNVHash .......................................................... [ PASS]
FNVAHash ......................................................... [ PASS]
BRPHash .......................................................... [ PASS]
PYHash ........................................................... [ PASS]
RJL3Hash ......................................................... [ PASS]
ISPLHash ......................................................... [ PASS]
23 tests completed in 0.003 seconds.
23 out of 23 (100%) tests passed.
-- done testing Digest ---------------------------------------------------
4 subgroups completed in 0.013 seconds.
3 out of 4 (75.0%) subgroups passed.
-- done testing Hash Functions -----------------------------------------------
-- testing Utilities ---------------------------------------------------------
u32 set .............................................................. [ PASS]
u32 ref .............................................................. [ PASS]
(procedure? (make-bounded-hash *RJMXHash)) ........................... [ PASS]
number bound override ................................................ [ PASS]
within bounds ........................................................ [ PASS]
(procedure? (make-fixnum-bounded-hash *RJMXHash)) .................... [ PASS]
fixnum bound override ................................................ [ PASS]
within bounds ........................................................ [ PASS]
8 tests completed in 0.0 seconds.
8 out of 8 (100%) tests passed.
-- done testing Utilities ----------------------------------------------------
-- testing RJL3Hash Idempotent? ----------------------------------------------
1 .................................................................... [ FAIL]
expected 2110415480.0 but got 669913645
(RJL3Hash TSTSTR)
2 .................................................................... [ FAIL]
expected 2110415480.0 but got 669913645
(RJL3Hash TSTSTR)
3 .................................................................... [ FAIL]
expected 2110415480.0 but got 669913645
(RJL3Hash TSTSTR)
4 .................................................................... [ FAIL]
expected 2110415480.0 but got 669913645
(RJL3Hash TSTSTR)
5 .................................................................... [ FAIL]
expected 2110415480.0 but got 669913645
(RJL3Hash TSTSTR)
6 .................................................................... [ FAIL]
expected 2110415480.0 but got 669913645
(RJL3Hash TSTSTR)
7 .................................................................... [ FAIL]
expected 2110415480.0 but got 669913645
(RJL3Hash TSTSTR)
8 .................................................................... [ FAIL]
expected 2110415480.0 but got 669913645
(RJL3Hash TSTSTR)
9 .................................................................... [ FAIL]
expected 2110415480.0 but got 669913645
(RJL3Hash TSTSTR)
9 tests completed in 0.001 seconds.
9 failures (100%).
0 out of 9 (0%) tests passed.
-- done testing RJL3Hash Idempotent? -----------------------------------------
-- testing TWUserMixHash -----------------------------------------------------
TWUserMixHash Make ................................................... [ PASS]
(procedure? *hash) ................................................... [ PASS]
(procedure? hash) .................................................... [ PASS]
(message-digest-primitive? digest-primitive) ......................... [ PASS]
TWUserMixHash Hash ................................................... [ PASS]
TWUserMixHash Length Arg ............................................. [ PASS]
*TWUserMixHash full-length ........................................... [ FAIL]
expected 1128165222.0 but got 1013988973
(*hash TSTSTR TSTSTR-LEN 0)
*TWUserMixHash half-length ........................................... [ FAIL]
expected 4224816547.0 but got 992036452
(*hash TSTSTR TSTSTR-HALF-LEN 0)
TWUserMixHash Digest ................................................. [ FAIL]
expected "433e6f66" but got "6d3e703c"
(message-digest-string digest-primitive TSTSTR)
9 tests completed in 0.002 seconds.
3 failures (33.3%).
6 out of 9 (66.7%) tests passed.
-- done testing TWUserMixHash ------------------------------------------------
-- testing Rabin-Karp Search -------------------------------------------------
(procedure? (make-rabin-karp-string-search substrs)) ................. [ PASS]
W/O start & end ...................................................... [ PASS]
W/ start & end ....................................................... [ PASS]
(procedure? (make-fixnum-bounded-hash *RJL3Hash)) .................... [ PASS]
(procedure? (make-fixnum-bounded-hash *RJL3Hash)) .................... [ PASS]
W/O start & end ...................................................... [ PASS]
W/ start & end ....................................................... [ PASS]
7 tests completed in 0.001 seconds.
7 out of 7 (100%) tests passed.
-- done testing Rabin-Karp Search --------------------------------------------
*** Hash results are platform specific. You may see many failures. ***