One more tests

This commit is contained in:
Alexander 2017-08-22 22:30:20 +03:00
parent ad2c952697
commit eeeafa2651

View File

@ -145,6 +145,7 @@ class TestLibPack(PillowTestCase):
self.assertEqual(unpack("RGBA", "BGRA;15", 2), (0, 131, 8, 0))
self.assertEqual(unpack("RGBA", "RGBA;4B", 2), (17, 0, 34, 0))
self.assertEqual(unpack("RGBA", "RGBA;L", 4), (1, 2, 3, 4))
self.assertEqual(unpack("RGBA", "RGBA;I", 4), (254, 253, 252, 4))
self.assertEqual(unpack("RGBA", "LA", 2), (1, 1, 1, 2))
self.assertEqual(unpack("RGBA", "LA;16B", 4), (1, 1, 1, 3))
self.assertEqual(unpack("RGBA", "RGBA;16B", 8), (1, 3, 5, 7))