1--TEST--
2Testing imageellipse() of GD library
3--CREDITS--
4Ivan Rosolen <contato [at] ivanrosolen [dot] com>
5#testfest PHPSP on 2009-06-20
6--EXTENSIONS--
7gd
8--SKIPIF--
9<?php
10if (!(imagetypes() & IMG_PNG)) {
11    die("skip No PNG support");
12}
13?>
14--FILE--
15<?php
16
17// Create a image
18$image = imagecreatetruecolor(400, 300);
19
20// Draw a white ellipse
21imageellipse($image, 200, 150, 300, 200, 16777215);
22
23include_once __DIR__ . '/func.inc';
24test_image_equals_file(__DIR__ . '/imageellipse_basic.png', $image);
25?>
26--EXPECT--
27The images are equal.
28