From 7d791cb6f6207075ec9e4cf1e638e5c36d8113f9 Mon Sep 17 00:00:00 2001 From: Michael M Date: Sun, 13 Aug 2017 19:02:41 -0700 Subject: [PATCH] BitUtilsTest: update to pass clang-format --- Source/UnitTests/Common/BitUtilsTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/UnitTests/Common/BitUtilsTest.cpp b/Source/UnitTests/Common/BitUtilsTest.cpp index 75f7adf50e..26232ca26e 100644 --- a/Source/UnitTests/Common/BitUtilsTest.cpp +++ b/Source/UnitTests/Common/BitUtilsTest.cpp @@ -71,21 +71,21 @@ TEST(BitUtils, IsValidLowMask) EXPECT_TRUE(Common::IsValidLowMask((u8)~0b0)); EXPECT_FALSE(Common::IsValidLowMask((u8)(~0b0 - 1))); - EXPECT_FALSE(Common::IsValidLowMask((u8)~(0b10000))); + EXPECT_FALSE(Common::IsValidLowMask((u8) ~(0b10000))); EXPECT_FALSE(Common::IsValidLowMask((u8)(~((u8)(~0b0) >> 1) | 0b1111))); EXPECT_TRUE(Common::IsValidLowMask((u16)~0b0)); EXPECT_FALSE(Common::IsValidLowMask((u16)(~0b0 - 1))); - EXPECT_FALSE(Common::IsValidLowMask((u16)~(0b10000))); + EXPECT_FALSE(Common::IsValidLowMask((u16) ~(0b10000))); EXPECT_FALSE(Common::IsValidLowMask((u16)(~((u16)(~0b0) >> 1) | 0b1111))); EXPECT_TRUE(Common::IsValidLowMask((u32)~0b0)); EXPECT_FALSE(Common::IsValidLowMask((u32)(~0b0 - 1))); - EXPECT_FALSE(Common::IsValidLowMask((u32)~(0b10000))); + EXPECT_FALSE(Common::IsValidLowMask((u32) ~(0b10000))); EXPECT_FALSE(Common::IsValidLowMask((u32)(~((u32)(~0b0) >> 1) | 0b1111))); EXPECT_TRUE(Common::IsValidLowMask((u64)~0b0)); EXPECT_FALSE(Common::IsValidLowMask((u64)(~0b0 - 1))); - EXPECT_FALSE(Common::IsValidLowMask((u64)~(0b10000))); + EXPECT_FALSE(Common::IsValidLowMask((u64) ~(0b10000))); EXPECT_FALSE(Common::IsValidLowMask((u64)(~((u64)(~0b0) >> 1) | 0b1111))); }