diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-24 01:06:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-24 01:06:04 +0100 |
| commit | 9e523d8a4062ad52330dff6c2ba50e54184c9bb2 (patch) | |
| tree | cc10da19d90f9ad1d17066e152602c3f88e5bf2b /test/rgb_xyz_test.cc | |
| parent | 242d42f32a1fbcf9fb1fe64d8c98e907e407703d (diff) | |
No-op: whitespace.
Diffstat (limited to 'test/rgb_xyz_test.cc')
| -rw-r--r-- | test/rgb_xyz_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rgb_xyz_test.cc b/test/rgb_xyz_test.cc index ca1378c8..c08d4979 100644 --- a/test/rgb_xyz_test.cc +++ b/test/rgb_xyz_test.cc @@ -118,7 +118,7 @@ note_handler (dcp::NoteType n, string s) BOOST_AUTO_TEST_CASE (xyz_rgb_range_test) { shared_ptr<dcp::OpenJPEGImage> xyz (new dcp::OpenJPEGImage (dcp::Size (2, 2))); - + xyz->data(0)[0] = -4; xyz->data(0)[1] = 6901; xyz->data(0)[2] = 0; @@ -185,12 +185,12 @@ BOOST_AUTO_TEST_CASE (rgb_xyz_round_trip_test) scoped_array<uint8_t> back (new uint8_t[size.width * size.height * 6]); dcp::xyz_to_rgb (xyz, dcp::ColourConversion::srgb_to_xyz (), back.get(), size.width * 6); -#if 0 +#if 0 uint16_t* p = reinterpret_cast<uint16_t*> (rgb.get ()); uint16_t* q = reinterpret_cast<uint16_t*> (back.get ()); for (int i = 0; i < (size.width * size.height); ++i) { /* XXX: doesn't quite work */ // BOOST_REQUIRE_EQUAL (*p++, *q++); } -#endif +#endif } |
