Browse Source

DebugTools: doc++

The comparator doesn't wrap the lines, so don't pretend it does. And we
have a way to wrap the lines in the output now, use that.
pull/605/head
Vladimír Vondruš 4 years ago
parent
commit
58132c0b35
  1. 4
      doc/snippets/debugtools-compareimage.ansi
  2. 4
      src/Magnum/DebugTools/CompareImage.h

4
doc/snippets/debugtools-compareimage.ansi

@ -1,8 +1,6 @@
Starting ProcessingTest with 1 test cases...
 FAIL [1] process() at …/debugtools-compareimage.cpp:77
Images actual and expected have max delta above threshold, actual 189
but at most 170 expected. Mean delta 13.5776 is within threshold 96.
Delta image:
Images actual and expected have max delta above threshold, actual 189 but at most 170 expected. Mean delta 13.5776 is within threshold 96. Delta image:
| |
| |
| ~8070DNMN8$ZD7 |

4
src/Magnum/DebugTools/CompareImage.h

@ -222,9 +222,11 @@ single pixel and mean delta averaged over all pixels:
@snippet debugtools-compareimage.cpp delta
Based on actual images used, in case of comparison failure the comparator can
Based on actual images used, in case of a comparison failure the comparator can
give for example the following output:
@m_class{m-console-wrap}
@include debugtools-compareimage.ansi
Supports the following formats:

Loading…
Cancel
Save