diff options
| author | ruki <[email protected]> | 2025-10-07 00:27:40 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-10-06 20:49:26 +0800 |
| commit | 75a5ae1bfbd0570819c9cab6e623f2f26db2e8a2 (patch) | |
| tree | cfed77a9075e2dc55d87890eb21b11004b0ce95f /tests/modules/hash | |
| parent | dc3f8642301976871a1510b2bda77b94b2984cac (diff) | |
use rand64 first
Diffstat (limited to 'tests/modules/hash')
| -rw-r--r-- | tests/modules/hash/test.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/modules/hash/test.lua b/tests/modules/hash/test.lua index 6bfe89fcd..06722fd9d 100644 --- a/tests/modules/hash/test.lua +++ b/tests/modules/hash/test.lua @@ -1,10 +1,7 @@ function test_rand32(t) local set = {} - for i = 1, 1000000 do + for i = 1, 1000 do local r = hash.rand32() - if set[r] then - print("i: %d, r: %s, o: %s", i, r, set[r]) - end t:require(set[r] == nil) set[r] = r end |
