From e8a72234dc585459d2a5dc95ff601e8a212e0b71 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 20 Jan 2026 12:56:14 +0100 Subject: Added Chunk Size deduction for ghost layer --- lib/core/tests/chunk.cpp | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 lib/core/tests/chunk.cpp (limited to 'lib/core/tests/chunk.cpp') diff --git a/lib/core/tests/chunk.cpp b/lib/core/tests/chunk.cpp new file mode 100644 index 0000000..5110597 --- /dev/null +++ b/lib/core/tests/chunk.cpp @@ -0,0 +1,37 @@ +#include + +#include "../c++/chunk.hpp" + +namespace { +namespace sch { +using namespace saw::schema; +} + +SAW_TEST("Chunk Ghost size 0"){ + using namespace kel; + + using TestChunk = lbm::sch::Chunk; + using TestArray = sch::FixedArray; + + SAW_EXPECT((std::is_same_v), "Types are not identical"); +} + +SAW_TEST("Chunk Ghost size 1"){ + using namespace kel; + + using TestChunk = lbm::sch::Chunk; + using TestArray = sch::FixedArray; + + SAW_EXPECT((std::is_same_v), "Types are not identical"); +} + +SAW_TEST("Chunk Ghost size 3"){ + using namespace kel; + + using TestChunk = lbm::sch::Chunk; + using TestArray = sch::FixedArray; + + SAW_EXPECT((std::is_same_v), "Types are not identical"); +} + +} -- cgit v1.2.3