summaryrefslogtreecommitdiff
path: root/test/audio_merger_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/audio_merger_test.cc')
-rw-r--r--test/audio_merger_test.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/audio_merger_test.cc b/test/audio_merger_test.cc
index 2ac42964a..3a274ff1a 100644
--- a/test/audio_merger_test.cc
+++ b/test/audio_merger_test.cc
@@ -66,7 +66,7 @@ BOOST_AUTO_TEST_CASE (audio_merger_test1)
push (merger, 0, 64, 22);
list<pair<shared_ptr<AudioBuffers>, DCPTime> > tb = merger.pull (DCPTime::from_frames (22, sampling_rate));
- BOOST_REQUIRE (tb.size() == 1);
+ BOOST_REQUIRE (tb.size() == 1U);
BOOST_CHECK (tb.front().first != shared_ptr<const AudioBuffers> ());
BOOST_CHECK_EQUAL (tb.front().first->frames(), 22);
BOOST_CHECK_EQUAL (tb.front().second.get(), 0);
@@ -77,7 +77,7 @@ BOOST_AUTO_TEST_CASE (audio_merger_test1)
}
tb = merger.pull (DCPTime::from_frames (22 + 64, sampling_rate));
- BOOST_REQUIRE (tb.size() == 1);
+ BOOST_REQUIRE (tb.size() == 1U);
BOOST_CHECK_EQUAL (tb.front().first->frames(), 64);
BOOST_CHECK_EQUAL (tb.front().second.get(), DCPTime::from_frames(22, sampling_rate).get());
@@ -100,7 +100,7 @@ BOOST_AUTO_TEST_CASE (audio_merger_test2)
/* There's nothing from 0 to 9 */
list<pair<shared_ptr<AudioBuffers>, DCPTime> > tb = merger.pull (DCPTime::from_frames (9, sampling_rate));
- BOOST_CHECK_EQUAL (tb.size(), 0);
+ BOOST_CHECK_EQUAL (tb.size(), 0U);
/* Then there's our data at 9 */
tb = merger.pull (DCPTime::from_frames (9 + 64, sampling_rate));
@@ -125,7 +125,7 @@ BOOST_AUTO_TEST_CASE (audio_merger_test3)
/* Get them back */
list<pair<shared_ptr<AudioBuffers>, DCPTime> > tb = merger.pull (DCPTime::from_frames (100, sampling_rate));
- BOOST_REQUIRE (tb.size() == 1);
+ BOOST_REQUIRE (tb.size() == 1U);
BOOST_CHECK_EQUAL (tb.front().first->frames(), 64);
BOOST_CHECK_EQUAL (tb.front().second.get(), DCPTime::from_frames(17, sampling_rate).get());
for (int i = 0; i < 64; ++i) {
@@ -133,7 +133,7 @@ BOOST_AUTO_TEST_CASE (audio_merger_test3)
}
tb = merger.pull (DCPTime::from_frames (200, sampling_rate));
- BOOST_REQUIRE (tb.size() == 1);
+ BOOST_REQUIRE (tb.size() == 1U);
BOOST_CHECK_EQUAL (tb.front().first->frames(), 64);
BOOST_CHECK_EQUAL (tb.front().second.get(), DCPTime::from_frames(114, sampling_rate).get());
for (int i = 0; i < 64; ++i) {