xo-alloc2: work on fomo Arena
This commit is contained in:
parent
19e612dd14
commit
a69158ab32
13 changed files with 507 additions and 8 deletions
26
utest/arena.test.cpp
Normal file
26
utest/arena.test.cpp
Normal 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 */
|
||||
Loading…
Add table
Add a link
Reference in a new issue