Tweak test check.
authorCarl Hetherington <cth@carlh.net>
Tue, 9 Dec 2014 20:48:23 +0000 (20:48 +0000)
committerCarl Hetherington <cth@carlh.net>
Tue, 9 Dec 2014 20:48:23 +0000 (20:48 +0000)
test/ffmpeg_decoder_sequential_test.cc

index e4968dedaaaa787e2f35a32605cb48fbc773485f..cf1fb818958ff4f9c34c7e4adf6525f54a7d7b97 100644 (file)
@@ -61,7 +61,7 @@ test (boost::filesystem::path file, float fps, int gaps)
        for (VideoFrame i = 0; i < N; ++i) {
                list<ContentVideo> v;
                v = decoder.get_video (i, true);
-               BOOST_CHECK (v.size() == 1);
+               BOOST_CHECK_EQUAL (v.size(), 1);
                BOOST_CHECK_EQUAL (v.front().frame, i);
        }
 #ifdef DCPOMATIC_DEBUG