projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
bfd9ce6
)
Another test reference fix.
author
Carl Hetherington
<cth@carlh.net>
Sat, 4 Aug 2018 14:34:28 +0000
(15:34 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 4 Aug 2018 14:34:28 +0000
(15:34 +0100)
test/butler_test.cc
patch
|
blob
|
history
diff --git
a/test/butler_test.cc
b/test/butler_test.cc
index dae098e308eb339f6dcfe2e8b7d1d6ec06bc7ffc..d1741262b139fd06f004e278255c0a6ee6dd860f 100644
(file)
--- a/
test/butler_test.cc
+++ b/
test/butler_test.cc
@@
-59,7
+59,7
@@
BOOST_AUTO_TEST_CASE (butler_test1)
/* XXX: check the frame contents */
float buffer[256 * 6];
/* XXX: check the frame contents */
float buffer[256 * 6];
- BOOST_REQUIRE (
!butler.get_audio (buffer, 256
));
+ BOOST_REQUIRE (
butler.get_audio (buffer, 256) == DCPTime(
));
for (int i = 0; i < 256; ++i) {
BOOST_REQUIRE_EQUAL (buffer[i * 6 + 0], 0);
BOOST_REQUIRE_EQUAL (buffer[i * 6 + 1], 0);
for (int i = 0; i < 256; ++i) {
BOOST_REQUIRE_EQUAL (buffer[i * 6 + 0], 0);
BOOST_REQUIRE_EQUAL (buffer[i * 6 + 1], 0);