summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/CommonFuncsTest.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2019-06-06 13:35:57 +0200
committerGitHub <noreply@github.com>2019-06-06 13:35:57 +0200
commit3f4952d57c49dee21a2f92d2559f906d4c253af2 (patch)
tree5511ef288aa216539a3b4fea5a0c52496a5c445f /Source/UnitTests/Common/CommonFuncsTest.cpp
parent824ec84e82ca259e0786b23bf3729bb6126409c8 (diff)
parenta9663669dc1037a04e37ae30efe18c0650547ac5 (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.cpp12
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(); }, "");