diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2023-02-14 01:35:10 +0100 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2023-02-17 22:29:51 -0700 |
commit | 4cd3a84c4b094783377b940f9a464eebf599b169 (patch) | |
tree | f786b757c59756b266300fca11a8f91c243a3d15 /Tests | |
parent | c08d137fcd0c2e1df3336b3c34e872b0315b3c37 (diff) | |
download | serenity-4cd3a84c4b094783377b940f9a464eebf599b169.zip |
AK: Remove unused `rehash_for_collision`
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/AK/TestHashFunctions.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Tests/AK/TestHashFunctions.cpp b/Tests/AK/TestHashFunctions.cpp index b440380d2c..c29367b8b7 100644 --- a/Tests/AK/TestHashFunctions.cpp +++ b/Tests/AK/TestHashFunctions.cpp @@ -15,13 +15,6 @@ TEST_CASE(int_hash) static_assert(int_hash(0) == 1177991625u); } -TEST_CASE(rehash_for_collision) -{ - static_assert(rehash_for_collision(666) == 171644115u); - static_assert(rehash_for_collision(0) == 1189591134u); - static_assert(rehash_for_collision(0xBA5EDB01) == 0u); -} - TEST_CASE(pair_int_hash) { static_assert(pair_int_hash(42, 17) == 339337046u); |