diff options
Diffstat (limited to 'Source/UnitTests/Common/CommonFuncsTest.cpp')
| -rw-r--r-- | Source/UnitTests/Common/CommonFuncsTest.cpp | 8 |
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)); -} |
