Lines Matching refs:prev_index
22 assert_eq!(bitmap.prev_index(0), None); in test_empty_bitmap_32()
35 assert_eq!(bitmap.prev_index(0), None); in test_empty_bitmap_32()
52 assert_eq!(bitmap.prev_index(0), None); in test_empty_bitmap_64()
65 assert_eq!(bitmap.prev_index(0), None); in test_empty_bitmap_64()
84 assert_eq!(bitmap.prev_index(0), None); in test_static_bitmap_32_first_1()
88 assert_eq!(bitmap.prev_index(2), Some(0)); in test_static_bitmap_32_first_1()
103 assert_eq!(bitmap.prev_index(0), None); in test_static_bitmap_32_first_1()
107 assert_eq!(bitmap.prev_index(2), Some(1)); in test_static_bitmap_32_first_1()
126 assert_eq!(bitmap.prev_index(15), None); in test_static_bitmap_32_middle_1()
130 assert_eq!(bitmap.prev_index(20), Some(15)); in test_static_bitmap_32_middle_1()
145 assert_eq!(bitmap.prev_index(15), Some(14)); in test_static_bitmap_32_middle_1()
149 assert_eq!(bitmap.prev_index(30), Some(29)); in test_static_bitmap_32_middle_1()
168 assert_eq!(bitmap.prev_index(31), None); in test_static_bitmap_32_last_1()
172 assert_eq!(bitmap.prev_index(2), None); in test_static_bitmap_32_last_1()
187 assert_eq!(bitmap.prev_index(31), Some(30)); in test_static_bitmap_32_last_1()
191 assert_eq!(bitmap.prev_index(2), Some(1)); in test_static_bitmap_32_last_1()
209 assert_eq!(bitmap.prev_index(0), None); in test_static_bitmap_64_first_1()
213 assert_eq!(bitmap.prev_index(2), Some(0)); in test_static_bitmap_64_first_1()
228 assert_eq!(bitmap.prev_index(0), None); in test_static_bitmap_64_first_1()
232 assert_eq!(bitmap.prev_index(2), Some(1)); in test_static_bitmap_64_first_1()
251 assert_eq!(bitmap.prev_index(15), None); in test_static_bitmap_64_middle_1()
255 assert_eq!(bitmap.prev_index(20), Some(15)); in test_static_bitmap_64_middle_1()
270 assert_eq!(bitmap.prev_index(15), Some(14)); in test_static_bitmap_64_middle_1()
274 assert_eq!(bitmap.prev_index(63), Some(62)); in test_static_bitmap_64_middle_1()
293 assert_eq!(bitmap.prev_index(63), None); in test_static_bitmap_64_last_1()
297 assert_eq!(bitmap.prev_index(2), None); in test_static_bitmap_64_last_1()
312 assert_eq!(bitmap.prev_index(63), Some(62)); in test_static_bitmap_64_last_1()
316 assert_eq!(bitmap.prev_index(2), Some(1)); in test_static_bitmap_64_last_1()
337 assert_eq!(bitmap.prev_index(63), Some(0)); in test_static_bitmap_64_two_1_first()
352 assert_eq!(bitmap.prev_index(63), Some(62)); in test_static_bitmap_64_two_1_first()
356 assert_eq!(bitmap.prev_index(2), Some(1)); in test_static_bitmap_64_two_1_first()
379 assert_eq!(bitmap.prev_index(63), Some(15)); in test_static_bitmap_64_two_1_middle()
395 assert_eq!(bitmap.prev_index(63), Some(62)); in test_static_bitmap_64_two_1_middle()
399 assert_eq!(bitmap.prev_index(2), Some(1)); in test_static_bitmap_64_two_1_middle()
421 assert_eq!(bitmap.prev_index(127), Some(0)); in test_static_bitmap_128_two_1_seperate_first()
423 assert_eq!(bitmap.prev_index(64), Some(0)); in test_static_bitmap_128_two_1_seperate_first()
437 assert_eq!(bitmap.prev_index(127), Some(126)); in test_static_bitmap_128_two_1_seperate_first()
465 assert_eq!(bitmap.prev_index(64), Some(63)); in test_static_bitmap_128_two_1_nearby_middle()
467 assert_eq!(bitmap.prev_index(63), None); in test_static_bitmap_128_two_1_nearby_middle()
469 assert_eq!(bitmap.prev_index(65), Some(64)); in test_static_bitmap_128_two_1_nearby_middle()
486 assert_eq!(bitmap.prev_index(127), Some(126)); in test_static_bitmap_128_two_1_nearby_middle()
488 assert_eq!(bitmap.prev_index(64), Some(62)); in test_static_bitmap_128_two_1_nearby_middle()
489 assert_eq!(bitmap.prev_index(63), Some(62)); in test_static_bitmap_128_two_1_nearby_middle()
509 assert_eq!(bitmap.prev_index(31), Some(30)); in test_static_bitmap_full_32()
511 assert_eq!(bitmap.prev_index(0), None); in test_static_bitmap_full_32()
525 assert_eq!(bitmap.prev_index(31), None); in test_static_bitmap_full_32()
527 assert_eq!(bitmap.prev_index(0), None); in test_static_bitmap_full_32()
547 assert_eq!(bitmap.prev_index(63), Some(62)); in test_static_bitmap_full_64()
549 assert_eq!(bitmap.prev_index(0), None); in test_static_bitmap_full_64()
563 assert_eq!(bitmap.prev_index(63), None); in test_static_bitmap_full_64()
565 assert_eq!(bitmap.prev_index(0), None); in test_static_bitmap_full_64()
585 assert_eq!(bitmap.prev_index(99), Some(98)); in test_static_bitmap_full_100()
587 assert_eq!(bitmap.prev_index(0), None); in test_static_bitmap_full_100()
601 assert_eq!(bitmap.prev_index(99), None); in test_static_bitmap_full_100()
603 assert_eq!(bitmap.prev_index(0), None); in test_static_bitmap_full_100()
623 assert_eq!(bitmap.prev_index(127), Some(126)); in test_static_bitmap_full_128()
625 assert_eq!(bitmap.prev_index(0), None); in test_static_bitmap_full_128()
639 assert_eq!(bitmap.prev_index(127), None); in test_static_bitmap_full_128()
641 assert_eq!(bitmap.prev_index(0), None); in test_static_bitmap_full_128()