Annotation of embedaddon/php/ext/gd/tests/createfromwbmp.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: imagecreatefromwbmp
        !             3: --SKIPIF--
        !             4: <?php
        !             5:         if (!function_exists('imagecreatefromwbmp')) die("skip gd extension not available\n");
        !             6: ?>
        !             7: --FILE--
        !             8: <?php
        !             9: $file = dirname(__FILE__) . '/src.wbmp';
        !            10: 
        !            11: $im2 = imagecreatefromwbmp($file);
        !            12: echo 'test create from wbmp: ';
        !            13: echo imagecolorat($im2, 3,3) == 0x0 ? 'ok' : 'failed';
        !            14: echo "\n";
        !            15: ?>
        !            16: --EXPECT--
        !            17: test create from wbmp: ok

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>