def test_bmp_loading(image_test, image_name): """Test loading BMP images.""" from pyglet.image.codecs.bmp import BMPImageDecoder image_test.test_image_loading(BMPImageDecoder(), image_name)
class TEST_SUITE(base_load.TestLoad): texture_file = 'rgb_4bpp.bmp' decoder = BMPImageDecoder()
def test_bmp_load(self): from pyglet.image.codecs.bmp import BMPImageDecoder self._test_load(bmp_files, BMPImageDecoder(), True)