summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/torture_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/torture_test.cc b/test/torture_test.cc
index c9bffaac7..9635aea73 100644
--- a/test/torture_test.cc
+++ b/test/torture_test.cc
@@ -122,7 +122,7 @@ BOOST_AUTO_TEST_CASE (torture_test1)
for (int i = 0; i < fr->samples(); ++i) {
for (int j = 0; j < 6; ++j) {
if (j == 2) {
- BOOST_CHECK_EQUAL ((fr->get(j, i) + 128) >> 8, stair * 2);
+ BOOST_CHECK_MESSAGE (((fr->get(j, i) + 128) >> 8) == (stair * 2), "sample=" << i << " channel=" << j << " frame has " << ((fr->get(j, i) + 128) >> 8) << " instead of " << (stair * 2));
++stair;
} else {
BOOST_CHECK_EQUAL (fr->get(j, i), 0);