xo-alloc2: work on fomo Arena

This commit is contained in:
Roland Conybeare 2025-12-11 11:14:46 -05:00
commit a69158ab32
13 changed files with 507 additions and 8 deletions

26
utest/arena.test.cpp Normal file
View file

@ -0,0 +1,26 @@
/** @file arena.test.cpp
*
* @author Roland Conybeare, Dec 2025
**/
#include "xo/alloc2/AAllocator.hpp"
#include "xo/alloc2/DArena.hpp"
#include "xo/alloc2/IAllocator_DArena.hpp"
#include "xo/alloc2/padding.hpp"
#include <catch2/catch.hpp>
namespace xo {
using xo::mm::IAllocator_Xfer;
using xo::mm::DArena;
namespace ut {
TEST_CASE("IAllocator_Xfer_DArena", "[alloc2]")
{
IAllocator_Xfer<DArena> xfer;
REQUIRE(IAllocator_Xfer<DArena>::_valid);
}
} /*namespace ut*/
} /*namespace xo*/
/* end arena.test.cpp */