Skip to content

Commit

Permalink
Update CommonDefsTest.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
stefankiesz authored Jan 29, 2025
1 parent 8aabddf commit f2fec58
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tst/common/CommonDefsTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ TEST(CommonDefsTest, SizeTMatches)
{
EXPECT_EQ(SIZEOF(size_t), SIZEOF(SIZE_T));
}

TEST(CommonDefsTest, UINT32Matches)
{
EXPECT_EQ(SIZEOF(UINT32), 4);
// Testing a failure case...
EXPECT_EQ(SIZEOF(UINT32) + 1, 4);
}

0 comments on commit f2fec58

Please sign in to comment.