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/import_dcp_test.cc | |
| parent | cd92063f7c67093ac789cb3aa78e534a3a85ef92 (diff) | |
Fix incorrect sign on boost test constants.
Diffstat (limited to 'test/import_dcp_test.cc')
| -rw-r--r-- | test/import_dcp_test.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/import_dcp_test.cc b/test/import_dcp_test.cc index ad6fc88ca..2f33f93f5 100644 --- a/test/import_dcp_test.cc +++ b/test/import_dcp_test.cc @@ -125,7 +125,7 @@ BOOST_AUTO_TEST_CASE (import_dcp_markers_test) BOOST_REQUIRE (!wait_for_jobs()); film2->write_metadata (); - BOOST_CHECK_EQUAL (imported->markers().size(), 3); + BOOST_CHECK_EQUAL (imported->markers().size(), 3U); map<dcp::Marker, dcpomatic::ContentTime> markers = imported->markers(); BOOST_REQUIRE(markers.find(dcp::FFOC) != markers.end()); @@ -138,11 +138,11 @@ BOOST_AUTO_TEST_CASE (import_dcp_markers_test) /* Load that film and check that the markers have been loaded */ shared_ptr<Film> film3(new Film(boost::filesystem::path("build/test/import_dcp_markers_test2"))); film3->read_metadata (); - BOOST_REQUIRE (film3->content().size() == 1); + BOOST_REQUIRE_EQUAL (film3->content().size(), 1U); shared_ptr<DCPContent> reloaded = dynamic_pointer_cast<DCPContent>(film3->content().front()); BOOST_REQUIRE (reloaded); - BOOST_CHECK_EQUAL (reloaded->markers().size(), 3); + BOOST_CHECK_EQUAL (reloaded->markers().size(), 3U); markers = reloaded->markers(); BOOST_REQUIRE(markers.find(dcp::FFOC) != markers.end()); @@ -190,7 +190,7 @@ BOOST_AUTO_TEST_CASE (import_dcp_metadata_test) /* Load that film and check that the metadata has been loaded */ shared_ptr<Film> film3(new Film(boost::filesystem::path("build/test/import_dcp_metadata_test2"))); film3->read_metadata (); - BOOST_REQUIRE (film3->content().size() == 1); + BOOST_REQUIRE_EQUAL (film3->content().size(), 1U); shared_ptr<DCPContent> reloaded = dynamic_pointer_cast<DCPContent>(film3->content().front()); BOOST_REQUIRE (reloaded); |
