Fix issues with stablevector

This commit is contained in:
Georg Hagen
2025-04-17 16:23:11 +02:00
parent ae7dee7259
commit 737d776f24
2 changed files with 4 additions and 7 deletions

View File

@@ -90,15 +90,13 @@ TEST_CASE("ChunkVector")
REQUIRE(vec.Size() == 100);
uint64_t tempVal = vec.Capacity();
for (uint32_t i = 0; i < 50; ++i)
{
vec.PopBack();
}
REQUIRE(vec.Size() == 50);
REQUIRE(vec.Capacity() == tempVal);
REQUIRE(vec.Capacity() == 32 + 64);
}
SECTION("Iterators with empty vector")