xo-alloc2: + utest harness for catch2

accept additional commandline arguments
This commit is contained in:
Roland Conybeare 2026-05-19 08:27:10 -04:00
commit 908c4908c5
13 changed files with 241 additions and 9 deletions

View file

@ -3,6 +3,7 @@
* @author Roland Conybeare, May 2026
**/
#include "TestUtil.hpp"
#include "Generation.hpp"
#include <catch2/catch.hpp>
@ -14,6 +15,8 @@ namespace xo {
TEST_CASE("Generation-1", "[Generation]")
{
auto log = Utest::ut_scope();
REQUIRE(Generation::nursery() == 0);
REQUIRE(Generation::g0() == 0);
REQUIRE(Generation::g1() == 1);