From 6041247db96664be4785098f9a190adb279a3f3e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 3 May 2021 01:37:46 +0200 Subject: [PATCH] Test output tweaks. --- test/image_test.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/image_test.cc b/test/image_test.cc index 4cc80b7e0..bbaf9bd74 100644 --- a/test/image_test.cc +++ b/test/image_test.cc @@ -538,19 +538,19 @@ BOOST_AUTO_TEST_CASE (make_part_black_test) int b = *q++; if (x >= j.first && x < (j.first + j.second)) { BOOST_CHECK_MESSAGE ( - r < 3, "red=" << static_cast(r) << " at x=" << x << " format " << i << " from " << j.first << " width " << j.second + r < 3, "red=" << static_cast(r) << " at (" << x << "," << y << ") format " << i << " from " << j.first << " width " << j.second ); } else { BOOST_CHECK_MESSAGE ( - r > 252, "red=" << static_cast(r) << " at x=" << x << " format " << i << " from " << j.first << " width " << j.second + r >= 252, "red=" << static_cast(r) << " at (" << x << "," << y << ") format " << i << " from " << j.first << " width " << j.second ); } BOOST_CHECK_MESSAGE ( - g == 0, "green=" << static_cast(g) << " at x=" << x << " format " << i << " from " << j.first << " width " << j.second + g == 0, "green=" << static_cast(g) << " at (" << x << "," << y << ") format " << i << " from " << j.first << " width " << j.second ); BOOST_CHECK_MESSAGE ( - b == 0, "blue=" << static_cast(b) << " at x=" << x << " format " << i << " from " << j.first << " width " << j.second + b == 0, "blue=" << static_cast(b) << " at (" << x << "," << y << ") format " << i << " from " << j.first << " width " << j.second ); } p += bar->stride()[0]; -- 2.30.2