Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66333 - sandbox/chrono/libs/chrono/test/time_point/arithmetic
From: vicente.botet_at_[hidden]
Date: 2010-11-01 17:32:27


Author: viboes
Date: 2010-11-01 17:32:27 EDT (Mon, 01 Nov 2010)
New Revision: 66333
URL: http://svn.boost.org/trac/boost/changeset/66333

Log:
Chrono: Refactor tests

Removed:
   sandbox/chrono/libs/chrono/test/time_point/arithmetic/op_minus_ass.pass.cpp
   sandbox/chrono/libs/chrono/test/time_point/arithmetic/op_plus_ass.pass.cpp

Deleted: sandbox/chrono/libs/chrono/test/time_point/arithmetic/op_minus_ass.pass.cpp
==============================================================================
--- sandbox/chrono/libs/chrono/test/time_point/arithmetic/op_minus_ass.pass.cpp 2010-11-01 17:32:27 EDT (Mon, 01 Nov 2010)
+++ (empty file)
@@ -1,17 +0,0 @@
-// Copyright 2010 Vicente J. Botet Escriba
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-#include <boost/chrono.hpp>
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
-{
- typedef boost::chrono::system_clock Clock;
- typedef boost::chrono::milliseconds Duration;
- boost::chrono::time_point<Clock, Duration> t(Duration(3));
- t -= Duration(2);
- BOOST_TEST(t.time_since_epoch() == Duration(1));
-
- return boost::report_errors();
-}

Deleted: sandbox/chrono/libs/chrono/test/time_point/arithmetic/op_plus_ass.pass.cpp
==============================================================================
--- sandbox/chrono/libs/chrono/test/time_point/arithmetic/op_plus_ass.pass.cpp 2010-11-01 17:32:27 EDT (Mon, 01 Nov 2010)
+++ (empty file)
@@ -1,17 +0,0 @@
-// Copyright 2010 Vicente J. Botet Escriba
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-#include <boost/chrono.hpp>
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
-{
- typedef boost::chrono::system_clock Clock;
- typedef boost::chrono::milliseconds Duration;
- boost::chrono::time_point<Clock, Duration> t(Duration(3));
- t += Duration(2);
- BOOST_TEST(t.time_since_epoch() == Duration(5));
-
- return boost::report_errors();
-}


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk