rollback types and fix corner case with iterator

This commit is contained in:
ohyzha
2025-03-05 14:58:08 +02:00
parent b95b8b0426
commit d342f93f45
2 changed files with 25 additions and 14 deletions

View File

@@ -101,6 +101,12 @@ TEST_CASE("ChunkVector")
REQUIRE(vec.Capacity() == tempVal);
}
SECTION("Iterators with empty vector")
{
StableVector<uint32_t> vec;
REQUIRE(vec.begin() == vec.end());
}
SECTION("Clear")
{
StableVector<uint32_t> vec;