xo-alloc2: + utest harness for catch2
accept additional commandline arguments
This commit is contained in:
parent
9cf74ea149
commit
908c4908c5
13 changed files with 241 additions and 9 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue