summaryrefslogtreecommitdiff
path: root/test/audio_decoder_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-05-27 16:33:23 +0100
committerCarl Hetherington <cth@carlh.net>2015-05-27 16:33:23 +0100
commita28f926237c3de58c202843bea7913c276d0cbbc (patch)
treec77e9a6ba63d852b9732d05571743d1c995be902 /test/audio_decoder_test.cc
parentd934bbc8fde882bb7c418320c5eaba62745b0376 (diff)
Tiny cleanup to test.
Diffstat (limited to 'test/audio_decoder_test.cc')
-rw-r--r--test/audio_decoder_test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/audio_decoder_test.cc b/test/audio_decoder_test.cc
index 7b7fa637b..8e570f674 100644
--- a/test/audio_decoder_test.cc
+++ b/test/audio_decoder_test.cc
@@ -154,8 +154,7 @@ BOOST_AUTO_TEST_CASE (audio_decoder_get_audio_test)
for (int i = 0; i < content->audio_channels(); ++i) {
for (int j = 0; j < ca->audio->frames(); ++j) {
- BOOST_CHECK_EQUAL (ca->audio->data(i)[j], j + from);
- assert (ca->audio->data(i)[j] == j + from);
+ BOOST_REQUIRE_EQUAL (ca->audio->data(i)[j], j + from);
}
}
}