(say 2) on a loaded system!
-/* $Id: test_boost_time.cpp,v 1.9 2007-01-25 14:05:54 adam Exp $
+/* $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
Copyright (c) 2005-2007, Index Data.
See the LICENSE file for details
boost::posix_time::time_duration duration = then - now;
//std::cout << duration << std::endl;
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);
}
BOOST_CHECK (duration.fractional_seconds() > 0);
}