diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-05-21 15:00:31 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-05-21 15:00:31 +0200 |
| commit | 3b60c30226695421df2521c11a45177ff9b4086b (patch) | |
| tree | ea7c01818300a2dea17a31b979540f7aa2e3b937 /lib/core/tests/iterator.cpp | |
| parent | 22c8f0540533c2d77201e90cdcd3dc30524a89e4 (diff) | |
| parent | b5d8593b9a2f0f58cb228444dcd09a2c5002e039 (diff) | |
| download | libs-lbm-3b60c30226695421df2521c11a45177ff9b4086b.tar.gz | |
Merge branch 'dev'
Diffstat (limited to 'lib/core/tests/iterator.cpp')
| -rw-r--r-- | lib/core/tests/iterator.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/core/tests/iterator.cpp b/lib/core/tests/iterator.cpp index 261765a..919c12c 100644 --- a/lib/core/tests/iterator.cpp +++ b/lib/core/tests/iterator.cpp @@ -20,6 +20,23 @@ SAW_TEST("Old Iterate"){ }, start, end); } +SAW_TEST("CT Tuple Iterator"){ + using namespace kel; + + saw::data< + sch::Tuple< + sch::Float32, + sch::Int16, + sch::Float64, + sch::UInt32 + > + > tup; + + lbm::ct_tuple_iterator<std::decay_t<decltype(tup)>::Schema>::apply([](auto& val) -> saw::error_or<void> { + return saw::make_void(); + },tup); +} + SAW_TEST("Old Iterate with Distance 1"){ using namespace kel; |
