Skip to content

Commit 8a087ca

Browse files
committed
Verify size of OSPUnstructuredCellType enum
1 parent d57b226 commit 8a087ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/ospTestSuite/test_enums.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ TEST(Enums, VKLUnstructuredCellType)
9898
ASSERT_EQ(OSP_HEXAHEDRON, VKL_HEXAHEDRON);
9999
ASSERT_EQ(OSP_WEDGE, VKL_WEDGE);
100100
ASSERT_EQ(OSP_PYRAMID, VKL_PYRAMID);
101+
ASSERT_EQ(sizeof(OSPUnstructuredCellType), 1); // should fit in uint8
101102
}
102103

103104
TEST(Enums, VKLAMRMethod)

0 commit comments

Comments
 (0)