Sindbad~EG File Manager

Current Path : /proc/thread-self/root/opt/cpanel/ea-php74/root/usr/share/tests/pecl/imagick/tests/
Upload File :
Current File : //proc/thread-self/root/opt/cpanel/ea-php74/root/usr/share/tests/pecl/imagick/tests/316_Imagick_getImageKurtosis.phpt

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

require_once(__DIR__ . '/functions.inc');

function getImageKurtosis() {
    $imagick = new \Imagick(__DIR__ . '/Biter_500.jpg');
    $values = $imagick->getImageKurtosis();

    check_value($values, "kurtosis", -0.9379261035010518);
    check_value($values, "skewness", 0.4562517200972045);
}

getImageKurtosis() ;
echo "Ok";
?>
--EXPECTF--
Value for 'kurtosis' is %f which is close enough to expected %f
Value for 'skewness' is %f which is close enough to expected %f
Ok

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists