|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r68130 - branches/release/libs/icl/test/test_casual_
From: afojgo_at_[hidden]
Date: 2011-01-13 17:09:22
Author: jofaber
Date: 2011-01-13 17:09:21 EST (Thu, 13 Jan 2011)
New Revision: 68130
URL: http://svn.boost.org/trac/boost/changeset/68130
Log:
Cleaned up test_casual.cpp
Text files modified:
branches/release/libs/icl/test/test_casual_/test_casual.cpp | 44 ----------------------------------------
1 files changed, 0 insertions(+), 44 deletions(-)
Modified: branches/release/libs/icl/test/test_casual_/test_casual.cpp
==============================================================================
--- branches/release/libs/icl/test/test_casual_/test_casual.cpp (original)
+++ branches/release/libs/icl/test/test_casual_/test_casual.cpp 2011-01-13 17:09:21 EST (Thu, 13 Jan 2011)
@@ -24,48 +24,6 @@
using namespace unit_test;
using namespace boost::icl;
-
-BOOST_AUTO_TEST_CASE(casual)
-{
- typedef int* T;
- typedef int U;
- typedef interval_map<T,U, total_absorber> IntervalMapT;
- typedef interval_set<T> IntervalSetT;
- typedef IntervalMapT::interval_type IntervalT;
-
- int values[100];
- for(int idx=0; idx < 100; idx++)
- values[idx] = idx;
-
- IntervalSetT ptr_set;
-
- cout << IntervalT::right_open(values, values+3) << endl;
-
- ptr_set += IntervalT::right_open(values, values+3);
- ptr_set += IntervalT::right_open(values+4, values+7);
- IntervalSetT::difference_type count = ptr_set.size();
-
- ICL_const_FORALL(IntervalSetT, it_, ptr_set)
- {
- for(T ptr = first(*it_); ptr <= last(*it_); ++ptr)
- cout << *ptr << " ";
- }
- cout << endl;
-
- cout << ptr_set << endl;
-
- interval<time_duration>::type rel_a_b
- = interval<time_duration>::right_open(d_a, d_b);
-
- time_duration sz_a_b_1 = d_b - d_a;
- time_duration sz_a_b_2 = icl::size(rel_a_b);
- cout << "b-a = " << sz_a_b_1 << endl;
- cout << "size([a,b)) = " << sz_a_b_2 << endl;
- cout << "size([a,b)) = " << (icl::size(rel_a_b)) << endl;
-
- cout << rel_a_b << " " << (icl::size(rel_a_b)) << endl;
-}
-
BOOST_AUTO_TEST_CASE(casual)
{
//typedef int T;
@@ -74,8 +32,6 @@
//typedef interval_set<T> IntervalSetT;
//typedef IntervalMapT::interval_type IntervalT;
- time_test();
-
BOOST_CHECK_EQUAL(true, true);
}
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