| 56 | using util::SafeCopy; |
| 57 | |
| 58 | TEST(BitUtilTests, TestIsMultipleOf64) { |
| 59 | using bit_util::IsMultipleOf64; |
| 60 | EXPECT_TRUE(IsMultipleOf64(64)); |
| 61 | EXPECT_TRUE(IsMultipleOf64(0)); |
| 62 | EXPECT_TRUE(IsMultipleOf64(128)); |
| 63 | EXPECT_TRUE(IsMultipleOf64(192)); |
| 64 | EXPECT_FALSE(IsMultipleOf64(23)); |
| 65 | EXPECT_FALSE(IsMultipleOf64(32)); |
| 66 | } |
| 67 | |
| 68 | TEST(BitUtilTests, TestNextPower2) { |
| 69 | using bit_util::NextPower2; |
nothing calls this directly
no test coverage detected