summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-08-22 22:24:37 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-08-22 22:24:37 +0200
commit4f8ba172c7c6cbe278cbf20927df543cd6c58c28 (patch)
tree0724726c6b16ba27fa7972fffb64501b22e89eda /modules
parent72f95bbed0d53d45858c7fb586f4d1876a384efd (diff)
parente6168bb3f656ebab9b63be697c79819b08fc1ae0 (diff)
downloadlibs-lbm-4f8ba172c7c6cbe278cbf20927df543cd6c58c28.tar.gz
Merge branch 'dev'
Diffstat (limited to 'modules')
-rw-r--r--modules/core/c++/abstract/stringify_schema.hpp1
-rw-r--r--modules/core/tests/schema.cpp16
2 files changed, 13 insertions, 4 deletions
diff --git a/modules/core/c++/abstract/stringify_schema.hpp b/modules/core/c++/abstract/stringify_schema.hpp
index 866bc7e..3d6b1d1 100644
--- a/modules/core/c++/abstract/stringify_schema.hpp
+++ b/modules/core/c++/abstract/stringify_schema.hpp
@@ -1,6 +1,7 @@
#pragma once
#include "schema.hpp"
+#include "string_literal.hpp"
namespace kel {
namespace lbm {
diff --git a/modules/core/tests/schema.cpp b/modules/core/tests/schema.cpp
index 5c884b4..db82b97 100644
--- a/modules/core/tests/schema.cpp
+++ b/modules/core/tests/schema.cpp
@@ -1,20 +1,28 @@
#include <forstio/test/suite.hpp>
-/*
#include "../c++/abstract/schema.hpp"
+#include "../c++/abstract/stringify_schema.hpp"
namespace {
namespace ts {
using namespace kel::lbm::sch;
-using TPtr = Ptr<UInt16>;
+// using TPtr = Ptr<UInt16>;
using TVal = UInt16;
}
-
+/*
SAW_TEST("Abstract/Schema/Ptr"){
using namespace kel::lbm;
// static_assert(std::is_same_v<typename schema_decay<ts::TPtr>::Schema, ts::TVal>, "schema decay failed");
}
-}
*/
+
+SAW_TEST("Abstract/SchemaStringify/PrimitiveKind"){
+ using namespace kel::lbm;
+
+ using TSch = ts::UnsignedInteger;
+
+ static constexpr auto str = schema_to_string<TSch>::value;
+}
+}