|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r76575 - sandbox/SOC/2011/checks/libs/checks/test
From: pierre.talbot.6114_at_[hidden]
Date: 2012-01-18 08:34:58
Author: trademark
Date: 2012-01-18 08:34:57 EST (Wed, 18 Jan 2012)
New Revision: 76575
URL: http://svn.boost.org/trac/boost/changeset/76575
Log:
Remove test case of iteration_sense in test_checks_tools.cpp
Text files modified:
sandbox/SOC/2011/checks/libs/checks/test/test_checks_tools.cpp | 22 ----------------------
1 files changed, 0 insertions(+), 22 deletions(-)
Modified: sandbox/SOC/2011/checks/libs/checks/test/test_checks_tools.cpp
==============================================================================
--- sandbox/SOC/2011/checks/libs/checks/test/test_checks_tools.cpp (original)
+++ sandbox/SOC/2011/checks/libs/checks/test/test_checks_tools.cpp 2012-01-18 08:34:57 EST (Wed, 18 Jan 2012)
@@ -19,7 +19,6 @@
#include <boost/test/unit_test.hpp> // Enhanced for unit_test framework autolink.
#include <boost/checks/weight.hpp>
-#include <boost/checks/iteration_sense.hpp>
#include <boost/checks/limits.hpp>
@@ -38,26 +37,6 @@
BOOST_CHECK ( 0 == no_weight_specify::weight_associated_with_pos( i ) ) ;
}
-BOOST_AUTO_TEST_CASE(iteration_sense_test)
-{
- typedef boost::checks::leftmost leftmost ;
- typedef boost::checks::rightmost rightmost ;
-
- std::string sequence = "123456789" ;
- leftmost::iterator<std::string>::type leftmost_begin = leftmost::begin( sequence );
- leftmost::iterator<std::string>::type leftmost_end = leftmost::end( sequence );
-
- BOOST_CHECK ( '1' == *leftmost_begin ) ;
-
- rightmost::iterator<std::string>::type rightmost_begin = rightmost::begin( sequence );
- rightmost::iterator<std::string>::type rightmost_end = rightmost::end( sequence );
-
- BOOST_CHECK ( '9' == *rightmost_begin ) ;
-
- BOOST_CHECK (*rightmost_begin == *(--leftmost_end) );
- BOOST_CHECK (*leftmost_begin == *(--rightmost_end) );
-}
-
BOOST_AUTO_TEST_CASE(limits_test)
{
typedef boost::checks::strict_size_contract<5> size_expected ;
@@ -80,5 +59,4 @@
}
BOOST_CHECK ( size_expected::reach_one_past_the_end(6) );
BOOST_CHECK ( !no_size_expected::reach_one_past_the_end(6) );
-
}
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