-/* $Id: test_boost_time.cpp,v 1.5 2005-10-15 14:09:09 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 <iostream>
-BOOST_AUTO_TEST_CASE( testboosttime1 )
+BOOST_AUTO_UNIT_TEST( testboosttime1 )
{
// test session
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);
}