diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-01-08 19:03:09 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-01-08 19:03:09 +0100 |
| commit | 87db03e9ffa559eaf5f6b970ad42776f33ae34b2 (patch) | |
| tree | 08cb174ef076709c5a8d35c919a3554df532756b /modules/codec/tests/forst.cpp | |
| parent | 043325c3a8ac3c4856a7b6944918e15cb7c36938 (diff) | |
| download | forstio-forstio-87db03e9ffa559eaf5f6b970ad42776f33ae34b2.tar.gz | |
dangling
Diffstat (limited to 'modules/codec/tests/forst.cpp')
| -rw-r--r-- | modules/codec/tests/forst.cpp | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/modules/codec/tests/forst.cpp b/modules/codec/tests/forst.cpp index 1d9c0c3..2bf6442 100644 --- a/modules/codec/tests/forst.cpp +++ b/modules/codec/tests/forst.cpp @@ -18,7 +18,7 @@ using TestStruct = Struct< using TestArray = Array< TestStruct >; - +/* SAW_TEST("Codec Forst Layer Info"){ using namespace saw; @@ -82,5 +82,21 @@ SAW_TEST("Codec Forst Primitive"){ SAW_EXPECT(val == foo, "Unexpected value"); } + +SAW_TEST("Codec Forst Struct of Primitives"){ + using namespace saw; + + data<TestStruct, encode::KelForst> test_dat; + + auto& test_a = test_dat.template get<"string">(); + auto& test_b = test_dat.template get<"number">(); + auto& test_c = test_dat.template get<"signed">(); + + test_b.set(50u); + test_c.set(-23); + test_a.set("cheese"); + +} +*/ } } |
