[ADT/MathExtras] Make buildbot happy again.

llvm-svn: 286559
This commit is contained in:
Davide Italiano 2016-11-11 04:03:29 +00:00
parent 2dcea63b4d
commit 0970ddb242
1 changed files with 6 additions and 6 deletions

View File

@ -166,15 +166,15 @@ TEST(MathExtras, isPowerOf2_64) {
}
TEST(MathExtras, PowerOf2Ceil) {
EXPECT_EQ(0, PowerOf2Ceil(0));
EXPECT_EQ(8, PowerOf2Ceil(8));
EXPECT_EQ(8, PowerOf2Ceil(7));
EXPECT_EQ(0U, PowerOf2Ceil(0U));
EXPECT_EQ(8U, PowerOf2Ceil(8U));
EXPECT_EQ(8U, PowerOf2Ceil(7U));
}
TEST(MathExtras, PowerOf2Floor) {
EXPECT_EQ(0, PowerOf2Floor(0));
EXPECT_EQ(8, PowerOf2Floor(8));
EXPECT_EQ(4, PowerOf2Floor(7));
EXPECT_EQ(0U, PowerOf2Floor(0U));
EXPECT_EQ(8U, PowerOf2Floor(8U));
EXPECT_EQ(4U, PowerOf2Floor(7U));
}
TEST(MathExtras, ByteSwap_32) {