[vtk-developers] VTK image error 0 despite differences - false pass

Marcus D. Hanwell marcus.hanwell at kitware.com
Fri May 4 09:34:01 EDT 2018


Hi,

A while ago I opened issue https://gitlab.kitware.com/vtk/vtk/issues/17201
that talked about a bug on Windows where setting the precision to 0
resulted in 6 precision on Windows. There was a test, but it was passing
even on Windows, this week we had a new employee start and I thought it
would be a good first bug to create a failing test, and then make it pass
by addressing the issue.

I thought that TestAxes was a little crowded, and that had perhaps been
enough to throw the image diff off. So he wrote a test that just had this
axis in, made a baseline for what was expected, and then changed it so that
we could see the test fail. Changing to 6 or 8 is still showing passing
test:



This looks like a good difference to me (not sure if we are allowed
attachments, but I tried). The ImageError is being shown as 0. We could
make the text bigger, but there are a few chart tests where we use text of
this size and I thought they would fail with extra numbers like this.

Thanks,

Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20180504/7dd4934e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestAxes22.png
Type: image/png
Size: 1876 bytes
Desc: not available
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20180504/7dd4934e/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestAxes2.png
Type: image/png
Size: 1770 bytes
Desc: not available
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20180504/7dd4934e/attachment-0001.png>


More information about the vtk-developers mailing list