From 8a087cab102f094aa062c5048f0ea290ecbce15c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20G=C3=BCnther?= Date: Wed, 8 Jan 2025 16:20:29 +0100 Subject: [PATCH] Verify size of OSPUnstructuredCellType enum --- apps/ospTestSuite/test_enums.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/ospTestSuite/test_enums.cpp b/apps/ospTestSuite/test_enums.cpp index 8e2113cb2..f0e27db2b 100644 --- a/apps/ospTestSuite/test_enums.cpp +++ b/apps/ospTestSuite/test_enums.cpp @@ -98,6 +98,7 @@ TEST(Enums, VKLUnstructuredCellType) ASSERT_EQ(OSP_HEXAHEDRON, VKL_HEXAHEDRON); ASSERT_EQ(OSP_WEDGE, VKL_WEDGE); ASSERT_EQ(OSP_PYRAMID, VKL_PYRAMID); + ASSERT_EQ(sizeof(OSPUnstructuredCellType), 1); // should fit in uint8 } TEST(Enums, VKLAMRMethod)