summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/CommonFuncsTest.cpp
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2017-03-05 09:45:29 -0500
committerGitHub <noreply@github.com>2017-03-05 09:45:29 -0500
commit7fa14169e9aafd011cbb658e32a259e701812be0 (patch)
tree5f6d42ff9278c5c8eb0b4e14a7f753395bd55a80 /Source/UnitTests/Common/CommonFuncsTest.cpp
parentc2594695b8beda137c808e666b0651a1f09a293c (diff)
parent552c0d8404ebd1e0cfa71c2d14ecb81c40f4cd70 (diff)
Merge pull request #5007 from lioncash/swap
Common: Move byte swapping utilities into their own header
Diffstat (limited to 'Source/UnitTests/Common/CommonFuncsTest.cpp')
-rw-r--r--Source/UnitTests/Common/CommonFuncsTest.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/UnitTests/Common/CommonFuncsTest.cpp b/Source/UnitTests/Common/CommonFuncsTest.cpp
index c33dbda8c6..8808290771 100644
--- a/Source/UnitTests/Common/CommonFuncsTest.cpp
+++ b/Source/UnitTests/Common/CommonFuncsTest.cpp
@@ -30,11 +30,3 @@ TEST(CommonFuncs, CrashMacro)
{
EXPECT_DEATH({ Crash(); }, "");
}
-
-TEST(CommonFuncs, Swap)
-{
- EXPECT_EQ(0xf0, Common::swap8(0xf0));
- EXPECT_EQ(0x1234, Common::swap16(0x3412));
- EXPECT_EQ(0x12345678u, Common::swap32(0x78563412));
- EXPECT_EQ(0x123456789abcdef0ull, Common::swap64(0xf0debc9a78563412ull));
-}