summaryrefslogtreecommitdiff
path: root/test/tests.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-08-22 14:30:38 +0100
committerCarl Hetherington <cth@carlh.net>2012-08-22 14:30:38 +0100
commita3bbf59dd06dda14f070e99aaee32bb29a13f51a (patch)
tree9c855e74d800eee1f18b8246b9636b7023b2507f /test/tests.cc
parent533b606b866407e2f52e59f49e00c4e355b376ad (diff)
Be a bit more tolerant with tests.
Diffstat (limited to 'test/tests.cc')
-rw-r--r--test/tests.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tests.cc b/test/tests.cc
index 291982dd..d434429a 100644
--- 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)