projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
577fd83
)
Remove some debug output.
author
Carl Hetherington
<cth@carlh.net>
Mon, 20 Jun 2022 14:18:54 +0000
(16:18 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 20 Jun 2022 14:18:54 +0000
(16:18 +0200)
test/image_test.cc
patch
|
blob
|
history
diff --git
a/test/image_test.cc
b/test/image_test.cc
index a529a39355f49a643e8fe38af3abaa1b23d5f20c..94b7ba017d07696bd47ab770db0787f8d46a673d 100644
(file)
--- a/
test/image_test.cc
+++ b/
test/image_test.cc
@@
-223,7
+223,6
@@
BOOST_AUTO_TEST_CASE (alpha_blend_test_onto_xyz)
for (int y = 0; y < 50; ++y) {
uint16_t* p = reinterpret_cast<uint16_t*>(xyz.data()[0]) + (y * xyz.stride()[0] / 2);
for (int x = 0; x < 50; ++x) {
for (int y = 0; y < 50; ++y) {
uint16_t* p = reinterpret_cast<uint16_t*>(xyz.data()[0]) + (y * xyz.stride()[0] / 2);
for (int x = 0; x < 50; ++x) {
- std::cout << "x=" << x << ", y=" << y << "\n";
if (4 <= x && x < 12 && 4 <= y && y < 12) {
BOOST_REQUIRE_EQUAL(p[0], 45078U);
BOOST_REQUIRE_EQUAL(p[1], 34939U);
if (4 <= x && x < 12 && 4 <= y && y < 12) {
BOOST_REQUIRE_EQUAL(p[0], 45078U);
BOOST_REQUIRE_EQUAL(p[1], 34939U);