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--FILE--
9<?php
10
11// Create a image
12$image = imagecreatetruecolor(400, 300);
13
14// Draw a white ellipse
15imageellipse($image, 200, 150, 300, 200, 16777215);
16
17include_once __DIR__ . '/func.inc';
18test_image_equals_file(__DIR__ . '/imageellipse_basic.png', $image);
19?>
20--EXPECT--
21The images are equal.
22