diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-08-22 22:24:37 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-08-22 22:24:37 +0200 |
| commit | 4f8ba172c7c6cbe278cbf20927df543cd6c58c28 (patch) | |
| tree | 0724726c6b16ba27fa7972fffb64501b22e89eda /modules/core/tests/schema.cpp | |
| parent | 72f95bbed0d53d45858c7fb586f4d1876a384efd (diff) | |
| parent | e6168bb3f656ebab9b63be697c79819b08fc1ae0 (diff) | |
| download | libs-lbm-4f8ba172c7c6cbe278cbf20927df543cd6c58c28.tar.gz | |
Merge branch 'dev'
Diffstat (limited to 'modules/core/tests/schema.cpp')
| -rw-r--r-- | modules/core/tests/schema.cpp | 16 |
1 files changed, 12 insertions, 4 deletions
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; +} +} |
