xo-alloc2: work on fomo Arena

This commit is contained in:
Roland Conybeare 2025-12-11 11:14:46 -05:00
commit c172492007
21 changed files with 526 additions and 25 deletions

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 */