Tiny cleanup to test.
authorCarl Hetherington <cth@carlh.net>
Wed, 27 May 2015 15:33:23 +0000 (16:33 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 27 May 2015 15:33:23 +0000 (16:33 +0100)
test/audio_decoder_test.cc

index 7b7fa637bbf9766b860067403a07a49b5299519f..8e570f674052419f65790ea37fa6422492b9f3dc 100644 (file)
@@ -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);
                }
        }
 }