1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +00:00

AK: Remove unused rehash_for_collision

This commit is contained in:
Jelle Raaijmakers 2023-02-14 01:35:10 +01:00 committed by Andrew Kaster
parent c08d137fcd
commit 4cd3a84c4b
2 changed files with 0 additions and 21 deletions

View file

@ -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);