projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d934bbc
)
Tiny cleanup to test.
author
Carl Hetherington
<cth@carlh.net>
Wed, 27 May 2015 15:33:23 +0000
(16:33 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 27 May 2015 15:33:23 +0000
(16:33 +0100)
test/audio_decoder_test.cc
patch
|
blob
|
history
diff --git
a/test/audio_decoder_test.cc
b/test/audio_decoder_test.cc
index 7b7fa637bbf9766b860067403a07a49b5299519f..8e570f674052419f65790ea37fa6422492b9f3dc 100644
(file)
--- 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);
}
}
}