projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove some debug output.
[dcpomatic.git]
/
test
/
image_test.cc
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);