X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ftest_boost_time.cpp;h=d49c814250412199fc2a91c927dc57ff745ad62e;hb=f7c9dc398b4cb271ae95c46a7741b0a35ad57523;hp=fed4a27a1f55917927e09095c6608efd5eab6f9e;hpb=77dee8966dd1304a0fb8540c3fc68d02dc6ce84a;p=metaproxy-moved-to-github.git diff --git a/src/test_boost_time.cpp b/src/test_boost_time.cpp index fed4a27..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.6 2005-12-02 12:21:07 adam Exp $ - Copyright (c) 2005, 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); }