xo-arena: DArenaHashMap [WIP]

This commit is contained in:
Roland Conybeare 2026-01-06 23:55:33 -05:00
commit 0e6ab862d1
5 changed files with 180 additions and 1 deletions

View file

@ -0,0 +1,26 @@
/** @file DArenaHashMap.test.cpp
*
* @author Roland Conybeare, Jan 2026
**/
#include "DArenaHashMap.hpp"
#include <catch2/catch.hpp>
namespace xo {
using xo::mm::DArenaHashMap;
//using xo::mM::ArenaConfig;
namespace ut {
TEST_CASE("DArenaHashMap-ctor", "[arena][DArenaHashMap]")
{
using HashMap = DArenaHashMap<int, int>;
HashMap map;
REQUIRE(map.empty());
REQUIRE(map.capacity() == HashMap::group_size());
}
}
}
/* end DArenaHashMap.test.cpp */