projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
533b606
)
Be a bit more tolerant with tests.
author
Carl Hetherington
<cth@carlh.net>
Wed, 22 Aug 2012 13:30:38 +0000
(14:30 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 22 Aug 2012 13:30:38 +0000
(14:30 +0100)
test/tests.cc
patch
|
blob
|
history
diff --git
a/test/tests.cc
b/test/tests.cc
index 291982ddcc21f00af7597fb92db59595977f6138..d434429a83047d2c9e23498429df1d188ae6075c 100644
(file)
--- a/
test/tests.cc
+++ b/
test/tests.cc
@@
-212,7
+212,7
@@
BOOST_AUTO_TEST_CASE (dcp_time)
a = libdcp::Time (24, 12, 6, 3);
b = libdcp::Time (16, 8, 4, 2);
- BOOST_CHECK_
EQUAL (a / b, 1.
5);
+ BOOST_CHECK_
CLOSE (a / b, 1.5, 1e-
5);
}
BOOST_AUTO_TEST_CASE (color)