mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 01:41:59 -05:00
AK: Disable the HashTable<double> test until UB issue is fixed
This commit is contained in:
parent
ca2807ba42
commit
ede818cbf9
1 changed files with 3 additions and 0 deletions
|
@ -268,6 +268,8 @@ TEST_CASE(floats)
|
|||
EXPECT(table.contains(2.0f));
|
||||
}
|
||||
|
||||
// FIXME: Enable this test once it doesn't trigger UBSAN.
|
||||
#if 0
|
||||
TEST_CASE(doubles)
|
||||
{
|
||||
HashTable<double> table;
|
||||
|
@ -279,6 +281,7 @@ TEST_CASE(doubles)
|
|||
EXPECT(table.contains(1.0));
|
||||
EXPECT(table.contains(2.0));
|
||||
}
|
||||
#endif
|
||||
|
||||
// Inserting and removing a bunch of elements will "thrash" the table, leading to a lot of "deleted" markers.
|
||||
BENCHMARK_CASE(benchmark_thrashing)
|
||||
|
|
Loading…
Reference in a new issue