diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/read_smpte_subtitle_test.cc | 1 | ||||
| -rw-r--r-- | test/rgb_xyz_test.cc | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/test/read_smpte_subtitle_test.cc b/test/read_smpte_subtitle_test.cc index 99c7ee73..0ce3eea9 100644 --- a/test/read_smpte_subtitle_test.cc +++ b/test/read_smpte_subtitle_test.cc @@ -22,6 +22,7 @@ #include "local_time.h" #include "smpte_load_font_node.h" #include <boost/test/unit_test.hpp> +#include <boost/optional.hpp> using std::list; using boost::shared_ptr; diff --git a/test/rgb_xyz_test.cc b/test/rgb_xyz_test.cc index 0719d975..ca1378c8 100644 --- a/test/rgb_xyz_test.cc +++ b/test/rgb_xyz_test.cc @@ -185,10 +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 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 } |
