| 25 | using BitVectorTest = ::testing::Test; |
| 26 | |
| 27 | TEST(BitVectorTest, Initialize) { |
| 28 | BitVector bvec; |
| 29 | |
| 30 | // Checks that all values are 0. Also tests checking a bit past the end of |
| 31 | // the vector containing the bits. |
| 32 | for (int i = 1; i < 10000; i *= 2) { |
| 33 | EXPECT_FALSE(bvec.Get(i)); |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | TEST(BitVectorTest, Set) { |
| 38 | BitVector bvec; |