1--TEST--
2Testing imagestringup() of GD library
3--CREDITS--
4Rafael Dohms <rdohms [at] gmail [dot] com>
5#testfest PHPSP on 2009-06-20
6--EXTENSIONS--
7gd
8--FILE--
9<?php
10$image = imagecreatetruecolor(180, 30);
11$white = imagecolorallocate($image, 255,255,255);
12
13$result = imagestringup($image, 1, 5, 25, 'Str', $white);
14
15include_once __DIR__ . '/func.inc';
16test_image_equals_file(__DIR__ . '/imagestringup_basic.png', $image);
17?>
18--EXPECT--
19The images are equal.
20