Skip to content

Commit

Permalink
Verify size of OSPUnstructuredCellType enum
Browse files Browse the repository at this point in the history
  • Loading branch information
johguenther committed Jan 8, 2025
1 parent d57b226 commit 8a087ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/ospTestSuite/test_enums.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8a087ca

Please sign in to comment.