diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-09-29 20:55:16 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-10-12 17:33:27 +0200 |
| commit | b29eb5107c5e77fe01e43010e1582e733f6ceea1 (patch) | |
| tree | 3656e3c7774b39735c34ebb059697deccfb3b280 /test/empty_test.cc | |
| parent | cd92063f7c67093ac789cb3aa78e534a3a85ef92 (diff) | |
Fix incorrect sign on boost test constants.
Diffstat (limited to 'test/empty_test.cc')
| -rw-r--r-- | test/empty_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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<dcpomatic::DCPTimePeriod>::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> 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)); |
