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 550b33323c
17 changed files with 262 additions and 13 deletions

View file

@ -3,6 +3,7 @@
* @author Roland Conybeare, May 2026
**/
#include "TestUtil.hpp"
#include "role.hpp"
#include <catch2/catch.hpp>
@ -13,6 +14,8 @@ namespace xo {
TEST_CASE("Role-1", "[Role]")
{
auto log = Utest::ut_scope();
/* 1. there are two distinct valid roles, 'to' and 'from',
* 2. valid roles fall in interval [begin, end)
*/