|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r67940 - trunk/libs/icl/test/test_doc_code_
From: afojgo_at_[hidden]
Date: 2011-01-10 20:14:38
Author: jofaber
Date: 2011-01-10 20:14:37 EST (Mon, 10 Jan 2011)
New Revision: 67940
URL: http://svn.boost.org/trac/boost/changeset/67940
Log:
Removed tabs.
Text files modified:
trunk/libs/icl/test/test_doc_code_/test_doc_code.cpp | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
Modified: trunk/libs/icl/test/test_doc_code_/test_doc_code.cpp
==============================================================================
--- trunk/libs/icl/test/test_doc_code_/test_doc_code.cpp (original)
+++ trunk/libs/icl/test/test_doc_code_/test_doc_code.cpp 2011-01-10 20:14:37 EST (Mon, 10 Jan 2011)
@@ -72,38 +72,38 @@
BOOST_AUTO_TEST_CASE(function_reference_element_iteration)
{
- // begin of doc code -------------------------------------------------------
+ // begin of doc code -------------------------------------------------------
interval_set<int> inter_set;
inter_set.add(interval<int>::right_open(0,3))
- .add(interval<int>::right_open(7,9));
+ .add(interval<int>::right_open(7,9));
for(interval_set<int>::element_const_iterator creeper = elements_begin(inter_set);
creeper != elements_end(inter_set); ++creeper)
cout << *creeper << " ";
cout << endl;
- //Program output: 0 1 2 7 8
+ //Program output: 0 1 2 7 8
for(interval_set<int>::element_reverse_iterator repeerc = elements_rbegin(inter_set);
repeerc != elements_rend(inter_set); ++repeerc)
cout << *repeerc << " ";
cout << endl;
- //Program output: 8 7 2 1 0
- // end of doc code ---------------------------------------------------------
+ //Program output: 8 7 2 1 0
+ // end of doc code ---------------------------------------------------------
- // Testcode
- std::stringstream result;
+ // Testcode
+ std::stringstream result;
for(interval_set<int>::element_iterator creeper2 = elements_begin(inter_set);
creeper2 != elements_end(inter_set); ++creeper2)
result << *creeper2 << " ";
- BOOST_CHECK_EQUAL(result.str(), std::string("0 1 2 7 8 "));
+ BOOST_CHECK_EQUAL(result.str(), std::string("0 1 2 7 8 "));
- std::stringstream tluser;
+ std::stringstream tluser;
for(interval_set<int>::element_const_reverse_iterator repeerc2
- = elements_rbegin(const_cast<const interval_set<int>&>(inter_set));
+ = elements_rbegin(const_cast<const interval_set<int>&>(inter_set));
repeerc2 != elements_rend(const_cast<const interval_set<int>&>(inter_set)); ++repeerc2)
tluser << *repeerc2 << " ";
- BOOST_CHECK_EQUAL(tluser.str(), std::string("8 7 2 1 0 "));
+ BOOST_CHECK_EQUAL(tluser.str(), std::string("8 7 2 1 0 "));
}
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