%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/cpanel/ea-php73/root/usr/share/tests/pecl/imagick/tests/
Upload File :
Create Path :
Current File : //opt/cpanel/ea-php73/root/usr/share/tests/pecl/imagick/tests/295_Imagick_setSeed.phpt

--TEST--
Test Imagick, setSeed
--SKIPIF--
<?php
require_once(dirname(__FILE__) . '/skipif.inc');
checkClassMethods('Imagick', array('setSeed'));
?>
--FILE--
<?php


function setSeed() {

	Imagick::setSeed(50);

    $imagick = new \Imagick();
    $imagick->newPseudoImage(256, 256, "plasma:tomato-steelblue");

//    $imagick->writeImage(__DIR__ . '/cannyEdgeImage_output_image.png');
//    $imagick->getImageBlob();

	Imagick::setSeed(50);

    $imagick = new \Imagick();
    $imagick->newPseudoImage(256, 256, "plasma:tomato-steelblue");

    // TODO - compare images.
}

setSeed() ;
echo "Ok";
?>
--EXPECTF--
Ok

Zerion Mini Shell 1.0