mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 09:56:17 +03:00
Added test
This commit is contained in:
parent
d37a8c7222
commit
0eabe68882
|
@ -124,15 +124,18 @@ class TestFileEps(PillowTestCase):
|
||||||
# Arrange
|
# Arrange
|
||||||
image1 = Image.open(file1)
|
image1 = Image.open(file1)
|
||||||
image2 = Image.open(file2)
|
image2 = Image.open(file2)
|
||||||
|
image3 = Image.open("Tests/images/illu10_preview.eps")
|
||||||
new_size = (100, 100)
|
new_size = (100, 100)
|
||||||
|
|
||||||
# Act
|
# Act
|
||||||
image1 = image1.resize(new_size)
|
image1 = image1.resize(new_size)
|
||||||
image2 = image2.resize(new_size)
|
image2 = image2.resize(new_size)
|
||||||
|
image3 = image3.resize(new_size)
|
||||||
|
|
||||||
# Assert
|
# Assert
|
||||||
self.assertEqual(image1.size, new_size)
|
self.assertEqual(image1.size, new_size)
|
||||||
self.assertEqual(image2.size, new_size)
|
self.assertEqual(image2.size, new_size)
|
||||||
|
self.assertEqual(image3.size, new_size)
|
||||||
|
|
||||||
def test_thumbnail(self):
|
def test_thumbnail(self):
|
||||||
# Issue #619
|
# Issue #619
|
||||||
|
|
Loading…
Reference in New Issue
Block a user