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);
}
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());
/* 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));
/* 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) {
}
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) {