test: suppress a few warnings (container)
This commit is contained in:
@@ -1159,7 +1159,7 @@ TEST(DenseMap, Reserve) {
|
||||
map.reserve(minimum_bucket_count);
|
||||
|
||||
ASSERT_EQ(map.bucket_count(), 2 * minimum_bucket_count);
|
||||
ASSERT_EQ(map.bucket_count(), entt::next_power_of_two(std::ceil(minimum_bucket_count / map.max_load_factor())));
|
||||
ASSERT_EQ(map.bucket_count(), entt::next_power_of_two(static_cast<std::size_t>(std::ceil(minimum_bucket_count / map.max_load_factor()))));
|
||||
}
|
||||
|
||||
TEST(DenseMap, ThrowingAllocator) {
|
||||
|
||||
@@ -877,7 +877,7 @@ TEST(DenseSet, Reserve) {
|
||||
set.reserve(minimum_bucket_count);
|
||||
|
||||
ASSERT_EQ(set.bucket_count(), 2 * minimum_bucket_count);
|
||||
ASSERT_EQ(set.bucket_count(), entt::next_power_of_two(std::ceil(minimum_bucket_count / set.max_load_factor())));
|
||||
ASSERT_EQ(set.bucket_count(), entt::next_power_of_two(static_cast<std::size_t>(std::ceil(minimum_bucket_count / set.max_load_factor()))));
|
||||
}
|
||||
|
||||
TEST(DenseSet, ThrowingAllocator) {
|
||||
|
||||
Reference in New Issue
Block a user