Lines Matching refs:EXPECT_THAT
68 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(1)); in TEST_F()
69 EXPECT_THAT(bitmap->Get(0), IsOkAndHolds(false)); in TEST_F()
82 EXPECT_THAT(bitmap->Get(0), IsOkAndHolds(false)); in TEST_F()
83 EXPECT_THAT(bitmap->Get(100000), IsOkAndHolds(true)); in TEST_F()
84 EXPECT_THAT(bitmap->Get(200000), IsOkAndHolds(false)); in TEST_F()
88 EXPECT_THAT(bitmap->Get(50), IsOkAndHolds(true)); in TEST_F()
93 EXPECT_THAT(bitmap->Get(100000), IsOkAndHolds(false)); in TEST_F()
94 EXPECT_THAT(bitmap->Get(200000), IsOkAndHolds(true)); in TEST_F()
103 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(1)); in TEST_F()
104 EXPECT_THAT(bitmap->Get(GetBlockCapacity(1) - 1), IsOkAndHolds(false)); in TEST_F()
108 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(4)); in TEST_F()
112 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(7)); in TEST_F()
118 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(7)); in TEST_F()
129 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(1)); in TEST_F()
130 EXPECT_THAT(bitmap->Get(100), IsOkAndHolds(true)); in TEST_F()
131 EXPECT_THAT(bitmap->Get(50), IsOkAndHolds(false)); in TEST_F()
136 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(2)); in TEST_F()
137 EXPECT_THAT(bitmap->Get(100), IsOkAndHolds(true)); in TEST_F()
138 EXPECT_THAT(bitmap->Get(50000), IsOkAndHolds(false)); in TEST_F()
143 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(2)); in TEST_F()
144 EXPECT_THAT(bitmap->Get(50), IsOkAndHolds(true)); in TEST_F()
145 EXPECT_THAT(bitmap->Get(100), IsOkAndHolds(true)); in TEST_F()
146 EXPECT_THAT(bitmap->Get(50000), IsOkAndHolds(false)); in TEST_F()
161 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(1)); in TEST_F()
162 EXPECT_THAT(bitmap->Get(0), IsOkAndHolds(false)); in TEST_F()
163 EXPECT_THAT(bitmap->Get(100), IsOkAndHolds(true)); in TEST_F()
171 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(1)); in TEST_F()
172 EXPECT_THAT(bitmap->Get(0), IsOkAndHolds(false)); in TEST_F()
173 EXPECT_THAT(bitmap->Get(100), IsOkAndHolds(true)); in TEST_F()
177 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(1)); in TEST_F()
178 EXPECT_THAT(bitmap->Get(200), IsOkAndHolds(false)); in TEST_F()
186 EXPECT_THAT(bitmap->Get(0), IsOkAndHolds(false)); in TEST_F()
187 EXPECT_THAT(bitmap->Get(GetBlockCapacity(1) - 1), IsOkAndHolds(false)); in TEST_F()
188 EXPECT_THAT(bitmap->Get(GetBlockCapacity(1)), in TEST_F()
190 EXPECT_THAT(bitmap->Get(GetBlockCapacity(2)), in TEST_F()
195 EXPECT_THAT(bitmap->Get(GetBlockCapacity(1) + 1), IsOkAndHolds(false)); in TEST_F()
196 EXPECT_THAT(bitmap->Get(GetBlockCapacity(2) - 1), IsOkAndHolds(false)); in TEST_F()
197 EXPECT_THAT(bitmap->Get(GetBlockCapacity(2) + 1), in TEST_F()
199 EXPECT_THAT(bitmap->Get(GetBlockCapacity(5)), in TEST_F()
203 EXPECT_THAT(bitmap->Get(100000), IsOkAndHolds(true)); in TEST_F()
204 EXPECT_THAT(bitmap->Get(GetBlockCapacity(5)), in TEST_F()
220 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(1)); in TEST_F()
221 EXPECT_THAT(bitmap->Get(99), IsOkAndHolds(true)); in TEST_F()
222 EXPECT_THAT(bitmap->Get(100), IsOkAndHolds(true)); in TEST_F()
223 EXPECT_THAT(bitmap->Get(101), IsOkAndHolds(true)); in TEST_F()
224 EXPECT_THAT(bitmap->Get(199), IsOkAndHolds(false)); in TEST_F()
225 EXPECT_THAT(bitmap->Get(200), IsOkAndHolds(false)); in TEST_F()
226 EXPECT_THAT(bitmap->Get(201), IsOkAndHolds(false)); in TEST_F()
231 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(1)); in TEST_F()
232 EXPECT_THAT(bitmap->Get(99), IsOkAndHolds(true)); in TEST_F()
233 EXPECT_THAT(bitmap->Get(100), IsOkAndHolds(true)); in TEST_F()
234 EXPECT_THAT(bitmap->Get(101), IsOkAndHolds(true)); in TEST_F()
235 EXPECT_THAT(bitmap->Get(102), IsOkAndHolds(false)); in TEST_F()
239 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(1)); in TEST_F()
240 EXPECT_THAT(bitmap->Get(99), IsOkAndHolds(true)); in TEST_F()
241 EXPECT_THAT(bitmap->Get(100), IsOkAndHolds(false)); in TEST_F()
242 EXPECT_THAT(bitmap->Get(101), IsOkAndHolds(false)); in TEST_F()
252 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(4)); in TEST_F()
256 EXPECT_THAT(bitmap->Get(100), IsOkAndHolds(true)); in TEST_F()
257 EXPECT_THAT(bitmap->Get(1000), IsOkAndHolds(true)); in TEST_F()
258 EXPECT_THAT(bitmap->Get(100000), IsOkAndHolds(true)); in TEST_F()
259 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(4)); in TEST_F()
263 EXPECT_THAT(bitmap->Get(100), IsOkAndHolds(true)); in TEST_F()
264 EXPECT_THAT(bitmap->Get(1000), IsOkAndHolds(true)); in TEST_F()
265 EXPECT_THAT(bitmap->Get(100000), IsOkAndHolds(true)); in TEST_F()
266 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(4)); in TEST_F()
274 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(2)); in TEST_F()
275 EXPECT_THAT(bitmap->Get(100), IsOkAndHolds(true)); in TEST_F()
276 EXPECT_THAT(bitmap->Get(1000), IsOkAndHolds(true)); in TEST_F()
277 EXPECT_THAT(bitmap->Get(49999), IsOkAndHolds(true)); in TEST_F()
278 EXPECT_THAT(bitmap->Get(50000), IsOkAndHolds(false)); in TEST_F()
279 EXPECT_THAT(bitmap->Get(50001), IsOkAndHolds(false)); in TEST_F()
280 EXPECT_THAT(bitmap->Get(100000), in TEST_F()
285 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(1)); in TEST_F()
286 EXPECT_THAT(bitmap->Get(100), IsOkAndHolds(true)); in TEST_F()
287 EXPECT_THAT(bitmap->Get(1000), IsOkAndHolds(true)); in TEST_F()
288 EXPECT_THAT(bitmap->Get(50000), in TEST_F()
290 EXPECT_THAT(bitmap->Get(100000), in TEST_F()
295 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(1)); in TEST_F()
296 EXPECT_THAT(bitmap->Get(100), IsOkAndHolds(true)); in TEST_F()
297 EXPECT_THAT(bitmap->Get(1000), IsOkAndHolds(false)); in TEST_F()
298 EXPECT_THAT(bitmap->Get(50000), in TEST_F()
300 EXPECT_THAT(bitmap->Get(100000), in TEST_F()
312 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(4)); in TEST_F()
320 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(2)); in TEST_F()
321 EXPECT_THAT(bitmap->Get(100), IsOkAndHolds(true)); in TEST_F()
322 EXPECT_THAT(bitmap->Get(1000), IsOkAndHolds(true)); in TEST_F()
323 EXPECT_THAT(bitmap->Get(49999), IsOkAndHolds(false)); in TEST_F()
324 EXPECT_THAT(bitmap->Get(50000), IsOkAndHolds(false)); in TEST_F()
325 EXPECT_THAT(bitmap->Get(100000), in TEST_F()
334 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(1)); in TEST_F()
335 EXPECT_THAT(bitmap->Get(100), IsOkAndHolds(true)); in TEST_F()
336 EXPECT_THAT(bitmap->Get(500), IsOkAndHolds(false)); in TEST_F()
337 EXPECT_THAT(bitmap->Get(1000), IsOkAndHolds(false)); in TEST_F()
338 EXPECT_THAT(bitmap->Get(100000), in TEST_F()
351 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(4)); in TEST_F()
355 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(2)); in TEST_F()
356 EXPECT_THAT(bitmap->Get(1000), IsOkAndHolds(true)); in TEST_F()
357 EXPECT_THAT(bitmap->Get(100000), in TEST_F()
362 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(7)); in TEST_F()
363 EXPECT_THAT(bitmap->Get(1000), IsOkAndHolds(true)); in TEST_F()
364 EXPECT_THAT(bitmap->Get(100000), IsOkAndHolds(false)); in TEST_F()
365 EXPECT_THAT(bitmap->Get(200000), IsOkAndHolds(true)); in TEST_F()
369 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(1)); in TEST_F()
370 EXPECT_THAT(bitmap->Get(1000), IsOkAndHolds(false)); in TEST_F()
371 EXPECT_THAT(bitmap->Get(100000), in TEST_F()
373 EXPECT_THAT(bitmap->Get(200000), in TEST_F()
385 EXPECT_THAT(bitmap->Set(3 * 1024 * 1024, true), in TEST_F()
390 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(1)); in TEST_F()