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:
fb82d25
)
Make a test check more informative.
author
Carl Hetherington
<cth@carlh.net>
Mon, 24 May 2021 22:30:48 +0000
(
00:30
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 25 May 2021 19:35:12 +0000
(21:35 +0200)
test/test.cc
patch
|
blob
|
history
diff --git
a/test/test.cc
b/test/test.cc
index 15bb2cc55e5a12f84198508846ea2636e8a2f732..3cd5688e7fd2bd69f1b87b16376c58bd6790d497 100644
(file)
--- a/
test/test.cc
+++ b/
test/test.cc
@@
-910,7
+910,7
@@
make_and_verify_dcp (shared_ptr<Film> film, vector<dcp::VerificationNote::Code>
void
check_int_close (int a, int b, int d)
{
void
check_int_close (int a, int b, int d)
{
- BOOST_CHECK
(std::abs(a - b)
< d);
+ BOOST_CHECK
_MESSAGE (std::abs(a - b) < d, a << " differs from " << b << " by more than " <
< d);
}
}