From f8f210993fe199c40df63827c8b1ae0257b02753 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 29 Oct 2025 18:24:21 +0100 Subject: Dangling changes from today --- lib/tests/descriptor.cpp | 4 ++++ lib/tests/iterator.cpp | 26 ++++++++++++++++++++++++-- 2 files changed, 28 insertions(+), 2 deletions(-) (limited to 'lib/tests') diff --git a/lib/tests/descriptor.cpp b/lib/tests/descriptor.cpp index a8337e6..7f743ce 100644 --- a/lib/tests/descriptor.cpp +++ b/lib/tests/descriptor.cpp @@ -32,4 +32,8 @@ SAW_TEST("Opposites and Dirs D2Q9"){ using namespace kel; check_opposite_dirs>(); } +SAW_TEST("Opposites and Dirs D3Q27"){ + using namespace kel; + check_opposite_dirs>(); +} } diff --git a/lib/tests/iterator.cpp b/lib/tests/iterator.cpp index cd1cb7c..261765a 100644 --- a/lib/tests/iterator.cpp +++ b/lib/tests/iterator.cpp @@ -9,7 +9,7 @@ namespace sch { using namespace kel::lbm::sch; } -SAW_TEST("Iterate"){ +SAW_TEST("Old Iterate"){ using namespace kel; saw::data> start{{0u,0u}}; @@ -20,7 +20,7 @@ SAW_TEST("Iterate"){ }, start, end); } -SAW_TEST("Iterate with Distance 1"){ +SAW_TEST("Old Iterate with Distance 1"){ using namespace kel; saw::data> start{{0u,0u}}; @@ -30,4 +30,26 @@ SAW_TEST("Iterate with Distance 1"){ std::cout<<"Index: "<> start{{0u,0u}}; + saw::data> end{{3u,3u}}; + + lbm::iterator<2u>::apply([](const saw::data>& index){ + std::cout<<"Index: "<> start{{0u,0u}}; + saw::data> end{{4u,4u}}; + + lbm::iterator<2u>::apply([](const saw::data>& index){ + std::cout<<"Index: "<