| 43 | namespace { |
| 44 | |
| 45 | Bitmap CreateTestBitmap(bool as_rgb) { |
| 46 | Bitmap bitmap(1, 3, as_rgb); |
| 47 | bitmap.SetPixel(0, 0, BitmapColor<uint8_t>(1)); |
| 48 | bitmap.SetPixel(1, 0, BitmapColor<uint8_t>(2)); |
| 49 | bitmap.SetPixel(2, 0, BitmapColor<uint8_t>(3)); |
| 50 | return bitmap; |
| 51 | } |
| 52 | |
| 53 | class ParameterizedImageReaderTests |
| 54 | : public ::testing::TestWithParam<std::tuple</*num_images=*/int, |