X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ftest_boost_time.cpp;h=d49c814250412199fc2a91c927dc57ff745ad62e;hb=f7c9dc398b4cb271ae95c46a7741b0a35ad57523;hp=d300b40543ed0d791f4e6713ea0915fe4bef5b6b;hpb=1e61b0aa05e2351e33d909f7503eaf936a2d9bb0;p=metaproxy-moved-to-github.git diff --git a/src/test_boost_time.cpp b/src/test_boost_time.cpp index d300b40..d49c814 100644 --- a/src/test_boost_time.cpp +++ b/src/test_boost_time.cpp @@ -1,5 +1,5 @@ -/* $Id: test_boost_time.cpp,v 1.8 2006-06-10 14:29:12 adam Exp $ - Copyright (c) 2005-2006, Index Data. +/* $Id: test_boost_time.cpp,v 1.10 2007-04-20 08:53:34 adam Exp $ + Copyright (c) 2005-2007, Index Data. See the LICENSE file for details */ @@ -37,7 +37,7 @@ BOOST_AUTO_UNIT_TEST( testboosttime1 ) boost::posix_time::time_duration duration = then - now; //std::cout << duration << std::endl; - BOOST_CHECK (duration.total_seconds() == 1); + BOOST_CHECK (duration.total_seconds() >= 1); BOOST_CHECK (duration.fractional_seconds() > 0); }