From a3bbf59dd06dda14f070e99aaee32bb29a13f51a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 22 Aug 2012 14:30:38 +0100 Subject: Be a bit more tolerant with tests. --- test/tests.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3