Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67609 - trunk/libs/icl/test/test_casual_
From: afojgo_at_[hidden]
Date: 2011-01-03 06:01:35


Author: jofaber
Date: 2011-01-03 06:01:32 EST (Mon, 03 Jan 2011)
New Revision: 67609
URL: http://svn.boost.org/trac/boost/changeset/67609

Log:
Removed Tabs.
Text files modified:
   trunk/libs/icl/test/test_casual_/test_casual.cpp | 46 +--------------------------------------
   1 files changed, 2 insertions(+), 44 deletions(-)

Modified: trunk/libs/icl/test/test_casual_/test_casual.cpp
==============================================================================
--- trunk/libs/icl/test/test_casual_/test_casual.cpp (original)
+++ trunk/libs/icl/test/test_casual_/test_casual.cpp 2011-01-03 06:01:32 EST (Mon, 03 Jan 2011)
@@ -25,57 +25,15 @@
 using namespace boost::icl;
 
 
+
 BOOST_AUTO_TEST_CASE(casual)
 {
- typedef int* T;
+ 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;
- //typedef int U;
- //typedef interval_map<T,U, total_absorber> IntervalMapT;
- //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