diff --git a/doc/snippets/debugtools-compareimage.ansi b/doc/snippets/debugtools-compareimage.ansi index f3533c18e..50decc72f 100644 --- a/doc/snippets/debugtools-compareimage.ansi +++ b/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 | diff --git a/src/Magnum/DebugTools/CompareImage.h b/src/Magnum/DebugTools/CompareImage.h index 516624076..c9d3435cc 100644 --- a/src/Magnum/DebugTools/CompareImage.h +++ b/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: