summaryrefslogtreecommitdiff
path: root/test/audio_analysis_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/audio_analysis_test.cc
parentcd92063f7c67093ac789cb3aa78e534a3a85ef92 (diff)
Fix incorrect sign on boost test constants.
Diffstat (limited to 'test/audio_analysis_test.cc')
-rw-r--r--test/audio_analysis_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/audio_analysis_test.cc b/test/audio_analysis_test.cc
index 2f51f7c4f..4613f4aea 100644
--- a/test/audio_analysis_test.cc
+++ b/test/audio_analysis_test.cc
@@ -89,7 +89,7 @@ BOOST_AUTO_TEST_CASE (audio_analysis_serialisation_test)
}
}
- BOOST_REQUIRE_EQUAL (b.sample_peak().size(), 3);
+ BOOST_REQUIRE_EQUAL (b.sample_peak().size(), 3U);
for (int i = 0; i < channels; ++i) {
BOOST_CHECK_CLOSE (b.sample_peak()[i].peak, peak[i].peak, 1);
BOOST_CHECK_EQUAL (b.sample_peak()[i].time.get(), peak[i].time.get());