X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fempty_test.cc;h=60427ca406b1cc983cb7a83f78fea7f52bde02dc;hb=b29eb5107c5e77fe01e43010e1582e733f6ceea1;hp=1588a99480bf0ecccfe74dade2974c7a476351f4;hpb=5fa43b4073033a5874106cc817c904bf3d58e4bf;p=dcpomatic.git diff --git a/test/empty_test.cc b/test/empty_test.cc index 1588a9948..60427ca40 100644 --- a/test/empty_test.cc +++ b/test/empty_test.cc @@ -66,7 +66,7 @@ BOOST_AUTO_TEST_CASE (empty_test1) contentB->set_position (film, DCPTime::from_frames (7, vfr)); Empty black (film, film->playlist(), bind(&has_video, _1), film->playlist()->length(film)); - BOOST_REQUIRE_EQUAL (black._periods.size(), 2); + BOOST_REQUIRE_EQUAL (black._periods.size(), 2U); list::const_iterator i = black._periods.begin(); BOOST_CHECK (i->from == DCPTime::from_frames(0, vfr)); BOOST_CHECK (i->to == DCPTime::from_frames(2, vfr)); @@ -98,7 +98,7 @@ BOOST_AUTO_TEST_CASE (empty_test2) contentB->set_position (film, DCPTime::from_frames(7, vfr)); Empty black (film, film->playlist(), bind(&has_video, _1), film->playlist()->length(film)); - BOOST_REQUIRE_EQUAL (black._periods.size(), 1); + BOOST_REQUIRE_EQUAL (black._periods.size(), 1U); BOOST_CHECK (black._periods.front().from == DCPTime::from_frames(3, vfr)); BOOST_CHECK (black._periods.front().to == DCPTime::from_frames(7, vfr)); @@ -138,7 +138,7 @@ BOOST_AUTO_TEST_CASE (empty_test3) shared_ptr playlist (new Playlist); playlist->add (film, contentB); Empty black (film, playlist, bind(&has_video, _1), playlist->length(film)); - BOOST_REQUIRE_EQUAL (black._periods.size(), 1); + BOOST_REQUIRE_EQUAL (black._periods.size(), 1U); BOOST_CHECK (black._periods.front().from == DCPTime::from_frames(0, vfr)); BOOST_CHECK (black._periods.front().to == DCPTime::from_frames(7, vfr));