projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9dcfb0c
)
Test output tweaks.
author
Carl Hetherington
<cth@carlh.net>
Sun, 2 May 2021 23:37:46 +0000
(
01:37
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 2 May 2021 23:39:32 +0000
(
01:39
+0200)
test/image_test.cc
patch
|
blob
|
history
diff --git
a/test/image_test.cc
b/test/image_test.cc
index 4cc80b7e05052ba2766ed35106e104ae5db677f2..bbaf9bd742fa38b8eb08bf4204783ba65892accc 100644
(file)
--- 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 (
int b = *q++;
if (x >= j.first && x < (j.first + j.second)) {
BOOST_CHECK_MESSAGE (
- r < 3, "red=" << static_cast<int>(r) << " at
x=" << x << "
format " << i << " from " << j.first << " width " << j.second
+ r < 3, "red=" << static_cast<int>(r) << " at
(" << x << "," << y << ")
format " << i << " from " << j.first << " width " << j.second
);
} else {
BOOST_CHECK_MESSAGE (
);
} else {
BOOST_CHECK_MESSAGE (
- r >
252, "red=" << static_cast<int>(r) << " at x=" << x << "
format " << i << " from " << j.first << " width " << j.second
+ r >
= 252, "red=" << static_cast<int>(r) << " at (" << x << "," << y << ")
format " << i << " from " << j.first << " width " << j.second
);
}
BOOST_CHECK_MESSAGE (
);
}
BOOST_CHECK_MESSAGE (
- g == 0, "green=" << static_cast<int>(g) << " at
x=" << x << "
format " << i << " from " << j.first << " width " << j.second
+ g == 0, "green=" << static_cast<int>(g) << " at
(" << x << "," << y << ")
format " << i << " from " << j.first << " width " << j.second
);
BOOST_CHECK_MESSAGE (
);
BOOST_CHECK_MESSAGE (
- b == 0, "blue=" << static_cast<int>(b) << " at
x=" << x << "
format " << i << " from " << j.first << " width " << j.second
+ b == 0, "blue=" << static_cast<int>(b) << " at
(" << x << "," << y << ")
format " << i << " from " << j.first << " width " << j.second
);
}
p += bar->stride()[0];
);
}
p += bar->stride()[0];