+/* $Id: test_boost_time.cpp,v 1.5 2005-10-15 14:09:09 adam Exp $
+ Copyright (c) 2005, Index Data.
+
+%LICENSE%
+ */
#include <iostream>
+#include "config.hpp"
#include "boost/date_time/posix_time/posix_time.hpp"
#define BOOST_AUTO_TEST_MAIN
//std::cout << duration << std::endl;
BOOST_CHECK (duration.total_seconds() == 1);
+ BOOST_CHECK (duration.fractional_seconds() > 0);
}
catch (std::exception &e) {
* Local variables:
* c-basic-offset: 4
* indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/