diff --git a/utest/CMakeLists.txt b/utest/CMakeLists.txt index 8f9b950..4570922 100644 --- a/utest/CMakeLists.txt +++ b/utest/CMakeLists.txt @@ -7,6 +7,7 @@ set(UTEST_SRCS Collector.test.cpp X1Collector.test.cpp DX1CollectorIterator.test.cpp + MutationLogStore.test.cpp GCObjectStore.test.cpp Object2.test.cpp diff --git a/utest/MutationLogStore.test.cpp b/utest/MutationLogStore.test.cpp new file mode 100644 index 0000000..fda7eb0 --- /dev/null +++ b/utest/MutationLogStore.test.cpp @@ -0,0 +1,53 @@ +/** @file MutationLogStore.test.cpp + * + * @author Roland Conybeare, Apr 2026 + **/ + +#include +#include +#include +#include + +namespace ut { + using xo::rng::random_seed; + using xo::xtag; + using xo::scope; + + namespace { + + struct Testcase { + }; + + static std::vector s_testcase_v = { + + }; + + class MlsFixture { + }; + } + + TEST_CASE("MutationLogStore-1", "[MutationLogStore]") + { + constexpr bool c_debug_flag = true; + scope log0(XO_DEBUG(c_debug_flag), "MutationLogStore test"); + + std::uint64_t seed = 7988747704879432247ul; + //random_seed(&seed); + log0 && log0(xtag("seed", seed)); + + for (size_t i_tc = 0, n_tc = s_testcase_v.size(); i_tc < n_tc; ++i_tc) { + auto rgen = xoshiro256ss(seed + i_tc); + + const Testcase & tc = s_testcase_v[i_tc]; + + scope log1(XO_DEBUG(tc.debug_flag_), "testcase loop", xtag("i_tc", i_tc)); + + INFO(tostr(xtag("i_tc", i_tc), xtag("n_tc", n_tc))); + + MlsFixture fixture(tc); + } + + } +} /*namespace ut*/ + +/* end MutationLogStore.test.cpp */