Separated test

This commit is contained in:
Andrew Murray 2022-05-28 15:25:19 +10:00
parent 62c7ee0f00
commit cb4b5f212d

View File

@ -1453,6 +1453,8 @@ def test_discontiguous_corners_polygon():
expected = os.path.join(IMAGES_PATH, "discontiguous_corners_polygon.png")
assert_image_similar_tofile(img, expected, 1)
def test_polygon():
im = Image.new("RGB", (W, H))
draw = ImageDraw.Draw(im)
draw.polygon([(18, 30), (19, 31), (18, 30), (85, 30), (60, 72)], "red")