summaryrefslogtreecommitdiff
path: root/test/closed_caption_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-29 20:55:16 +0200
committerCarl Hetherington <cth@carlh.net>2020-10-12 17:33:27 +0200
commitb29eb5107c5e77fe01e43010e1582e733f6ceea1 (patch)
tree3656e3c7774b39735c34ebb059697deccfb3b280 /test/closed_caption_test.cc
parentcd92063f7c67093ac789cb3aa78e534a3a85ef92 (diff)
Fix incorrect sign on boost test constants.
Diffstat (limited to 'test/closed_caption_test.cc')
-rw-r--r--test/closed_caption_test.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/closed_caption_test.cc b/test/closed_caption_test.cc
index b50430d48..283ce6b93 100644
--- a/test/closed_caption_test.cc
+++ b/test/closed_caption_test.cc
@@ -51,8 +51,8 @@ BOOST_AUTO_TEST_CASE (closed_caption_test1)
dcp::DCP check (film->dir(film->dcp_name()));
check.read ();
- BOOST_REQUIRE_EQUAL (check.cpls().size(), 1);
- BOOST_REQUIRE_EQUAL (check.cpls().front()->reels().size(), 1);
+ BOOST_REQUIRE_EQUAL (check.cpls().size(), 1U);
+ BOOST_REQUIRE_EQUAL (check.cpls().front()->reels().size(), 1U);
BOOST_REQUIRE (!check.cpls().front()->reels().front()->closed_captions().empty());
}
@@ -81,10 +81,10 @@ BOOST_AUTO_TEST_CASE (closed_caption_test2)
dcp::DCP check (film->dir(film->dcp_name()));
check.read ();
- BOOST_REQUIRE_EQUAL (check.cpls().size(), 1);
- BOOST_REQUIRE_EQUAL (check.cpls().front()->reels().size(), 1);
+ BOOST_REQUIRE_EQUAL (check.cpls().size(), 1U);
+ BOOST_REQUIRE_EQUAL (check.cpls().front()->reels().size(), 1U);
list<shared_ptr<dcp::ReelClosedCaptionAsset> > ccaps = check.cpls().front()->reels().front()->closed_captions();
- BOOST_REQUIRE_EQUAL (ccaps.size(), 3);
+ BOOST_REQUIRE_EQUAL (ccaps.size(), 3U);
list<shared_ptr<dcp::ReelClosedCaptionAsset> >::const_iterator i = ccaps.begin ();
BOOST_CHECK_EQUAL ((*i)->annotation_text(), "First track");