summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-08-21 15:55:13 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-08-21 15:55:13 +0200
commit47c1f28230ec96ca446a86ce3af0294837359d94 (patch)
tree3d93ebff78d8f975a08965357eee99ff3f5e1a9b /modules
parent0abb54eb19edca97fce5c3931984adcd5463bfec (diff)
downloadlibs-lbm-47c1f28230ec96ca446a86ce3af0294837359d94.tar.gz
Dangling
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;
+}
+}