--TEST-- Test Imagick, getImageRange --SKIPIF-- --FILE-- newPseudoImage(320, 240, "gradient:red-blue"); $values = $imagick->getImageRange(); check_value($values, "minima", 0); check_value($values, "maxima", 65535.0); } getImageRange() ; echo "Ok"; ?> --EXPECTF-- Value for 'minima' is %f which is close enough to expected %f Value for 'maxima' is %f which is close enough to expected %f Ok