Helper functions to generate the source bitmap and expected destination arrays.
| 210 | // Helper functions to generate the source bitmap and expected destination |
| 211 | // arrays. |
| 212 | static PackedBitmapType generate_packed_bitmap() { |
| 213 | PackedBitmapType bitmap; |
| 214 | // Assign random values into the source array. |
| 215 | random_bytes(kBitmapSizeInBytes, 0, bitmap.data()); |
| 216 | return bitmap; |
| 217 | } |
| 218 | |
| 219 | static UnpackedBitmapType generate_unpacked_bitmap(PackedBitmapType bitmap) { |
| 220 | // Use a BitmapReader (tested earlier) to populate the expected |
nothing calls this directly
no test coverage detected