Page 1 of 1

The t/read PerlMagick test fails in 6.3.6-2

Posted: 2007-10-14T15:52:38-07:00
by mi
On FreeBSD/amd64:

Code: Select all

perl t/read.t
1..47
...
Gradient (gradual passing from one shade to another) ...
mean-error=0,168198686124066, maximum-error=1
not ok 9
...
Please, advise. Thanks!

Re: The t/read PerlMagick test fails in 6.3.6-2

Posted: 2007-10-14T16:01:45-07:00
by magick
Gradients use floating point calculations so we are tolerant of errors up to 1.2. You can safely increase the sensitivity on this test to 0.2, 1.02 so that the test will pass.

Re: The t/read PerlMagick test fails in 6.3.6-2

Posted: 2007-10-14T16:35:34-07:00
by mi
magick wrote:Gradients use floating point calculations so we are tolerant of errors up to 1.2. You can safely increase the sensitivity on this test to 0.2, 1.02 so that the test will pass.
Thanks.

Well, if you aren't worried up to 1.2, why are you advising me to use a lower number of 1.02 :D ?

Anyway, please, do put these increases in tolerances into the source tree... Thanks!

Re: The t/read PerlMagick test fails in 6.3.6-2

Posted: 2007-10-14T16:39:04-07:00
by magick
We have adjusted the tolerances for the 3 tests you posted in the latest ImageMagick SVN.