Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ellessar
php-imagick
imagick-fix-test316.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File imagick-fix-test316.patch of Package php-imagick
diff -purN a/tests/316_Imagick_getImageKurtosis.phpt b/tests/316_Imagick_getImageKurtosis.phpt --- a/tests/316_Imagick_getImageKurtosis.phpt 2022-01-11 16:23:47.000000000 +0100 +++ b/tests/316_Imagick_getImageKurtosis.phpt 2024-01-22 20:29:18.738097214 +0100 @@ -14,8 +14,13 @@ function getImageKurtosis() { $imagick = new \Imagick(__DIR__ . '/Biter_500.jpg'); $values = $imagick->getImageKurtosis(); - check_value($values, "kurtosis", -0.9379261035010518); - check_value($values, "skewness", 0.4562517200972045); + if (isVersionGreaterEqual('6.9.13-2', '7.1.1-24')) { + check_value($values, "kurtosis", -0.7092599567492); + check_value($values, "skewness", 0.56839010636614); + } else { + check_value($values, "kurtosis", -0.9379261035010518); + check_value($values, "skewness", 0.4562517200972045); + } } getImageKurtosis() ;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor