def METHOD_NAME(self):
    for color in [1.0, 0.0, 0.5]:
        with self.subTest(color=color):
            desired = self.solid_bgra32(self.size, color)
            gc = GraphicsContext(self.size, pix_format="bgra32")
            img = GraphicsContext(desired, pix_format="bgra32")
            gc.draw_image(img)
            actual = gc.bmp_array
            # for alpha == 1, image should be exactly equal.
            self.assert_images_equal(desired, actual)