X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ftest_boost_time.cpp;h=d49c814250412199fc2a91c927dc57ff745ad62e;hb=f7c9dc398b4cb271ae95c46a7741b0a35ad57523;hp=af1db2ac3b16440a5ffdb9d33600d25bc86800a7;hpb=79100c2ae2dac4bdde4f4d46b69e147562b4ec6c;p=metaproxy-moved-to-github.git diff --git a/src/test_boost_time.cpp b/src/test_boost_time.cpp index af1db2a..d49c814 100644 --- a/src/test_boost_time.cpp +++ b/src/test_boost_time.cpp @@ -1,7 +1,7 @@ -/* $Id: test_boost_time.cpp,v 1.7 2006-03-16 10:40:59 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. -%LICENSE% + See the LICENSE file for details */ #include @@ -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); }