diff options
| author | Léo Lam <leo@leolam.fr> | 2019-06-06 13:35:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-06 13:35:57 +0200 |
| commit | 3f4952d57c49dee21a2f92d2559f906d4c253af2 (patch) | |
| tree | 5511ef288aa216539a3b4fea5a0c52496a5c445f /Source/UnitTests/Common/CommonFuncsTest.cpp | |
| parent | 824ec84e82ca259e0786b23bf3729bb6126409c8 (diff) | |
| parent | a9663669dc1037a04e37ae30efe18c0650547ac5 (diff) | |
Merge pull request #8152 from lioncash/array-size
Common/CommonFuncs: Remove now-unneccessary ArraySize function
Diffstat (limited to 'Source/UnitTests/Common/CommonFuncsTest.cpp')
| -rw-r--r-- | Source/UnitTests/Common/CommonFuncsTest.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/UnitTests/Common/CommonFuncsTest.cpp b/Source/UnitTests/Common/CommonFuncsTest.cpp index 6582eef1cc..8d6390dc75 100644 --- a/Source/UnitTests/Common/CommonFuncsTest.cpp +++ b/Source/UnitTests/Common/CommonFuncsTest.cpp @@ -6,18 +6,6 @@ #include "Common/CommonFuncs.h" -TEST(CommonFuncs, ArraySizeFunction) -{ - char test[4]; - u32 test2[42]; - - EXPECT_EQ(4u, ArraySize(test)); - EXPECT_EQ(42u, ArraySize(test2)); - - (void)test; - (void)test2; -} - TEST(CommonFuncs, CrashMacro) { EXPECT_DEATH({ Crash(); }, ""); |
