summaryrefslogtreecommitdiff
path: root/modules/core/tests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/tests')
-rw-r--r--modules/core/tests/schema.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/core/tests/schema.cpp b/modules/core/tests/schema.cpp
new file mode 100644
index 0000000..b705af0
--- /dev/null
+++ b/modules/core/tests/schema.cpp
@@ -0,0 +1,19 @@
+#include <forstio/test/suite.hpp>
+
+#include "../c++/abstract/schema.hpp"
+
+namespace {
+namespace ts {
+using namespace kel::lbm::sch;
+
+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");
+}
+
+}