Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed May 13, 2018
1 parent 8c6ce9b commit 9400f20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Firestore/core/test/firebase/firestore/util/bits_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,15 @@ TEST(Bits, Port32) {
for (int shift = 0; shift < 32; shift++) {
for (uint32_t delta = 0; delta <= 2; delta++) {
const uint32_t v = (static_cast<uint32_t>(1) << shift) - 1 + delta;
// EXPECT_EQ(Bits::Log2Floor_Portable(v), Bits::Log2Floor(v)) << v;
// EXPECT_EQ(Bits::Log2Floor_Portable(v), Bits::Log2Floor(v)) << v;
if (v != 0) {
EXPECT_EQ(Bits::Log2FloorNonZero_Portable(v), Bits::Log2FloorNonZero(v))
<< v;
}
}
}
static const uint32_t M32 = std::numeric_limits<uint32_t>::max();
// EXPECT_EQ(Bits::Log2Floor_Portable(M32), Bits::Log2Floor(M32)) << M32;
// EXPECT_EQ(Bits::Log2Floor_Portable(M32), Bits::Log2Floor(M32)) << M32;
EXPECT_EQ(Bits::Log2FloorNonZero_Portable(M32), Bits::Log2FloorNonZero(M32))
<< M32;
}
Expand Down

0 comments on commit 9400f20

Please sign in to comment.