|
Boost-Commit : |
From: jmcintyre_at_[hidden]
Date: 2008-03-20 23:57:19
Author: jared
Date: 2008-03-20 23:57:18 EDT (Thu, 20 Mar 2008)
New Revision: 43740
URL: http://svn.boost.org/trac/boost/changeset/43740
Log:
print() tests were in the stream test set, which was causing test failures
Text files modified:
sandbox/explore/libs/explore/test/stream/multi_dim_test.cpp | 58 ----------------------------------------
1 files changed, 0 insertions(+), 58 deletions(-)
Modified: sandbox/explore/libs/explore/test/stream/multi_dim_test.cpp
==============================================================================
--- sandbox/explore/libs/explore/test/stream/multi_dim_test.cpp (original)
+++ sandbox/explore/libs/explore/test/stream/multi_dim_test.cpp 2008-03-20 23:57:18 EDT (Thu, 20 Mar 2008)
@@ -14,28 +14,6 @@
#include <vector>
#include <boost/explore.hpp>
-BOOST_AUTO_TEST_CASE( two_dimension_print_test )
-{
- std::stringstream str_out;
-
- std::vector<int> vi;
- std::vector<std::vector<int> > vvi;
-
- vi.push_back(1);
- vi.push_back(2);
- vi.push_back(3);
-
- vvi.push_back(vi);
- vvi.push_back(vi);
- vvi.push_back(vi);
-
- explore::print(vvi, str_out/*, ??? */);
- BOOST_CHECK_EQUAL(str_out.str(),
- "|1 2 3|\n"
- "|1 2 3|\n"
- "|1 2 3|");
-}
-
std::ostream& format_2d(std::ostream& ostr)
{
using namespace explore;
@@ -71,42 +49,6 @@
"|1 2 3|");
}
-BOOST_AUTO_TEST_CASE( three_dimension_print_test )
-{
- std::stringstream str_out;
-
- std::vector<int> vi;
- std::vector<std::vector<int> > vvi;
- std::vector<std::vector<std::vector<int> > > vvvi;
-
- vi.push_back(1);
- vi.push_back(2);
- vi.push_back(3);
-
- vvi.push_back(vi);
- vvi.push_back(vi);
- vvi.push_back(vi);
-
- vvvi.push_back(vvi);
- vvvi.push_back(vvi);
- vvvi.push_back(vvi);
-
- explore::print(vvvi, str_out/*, ??? */);
- BOOST_CHECK_EQUAL(str_out.str(),
- "|1 2 3|\n"
- "|1 2 3|\n"
- "|1 2 3|\n"
- "\n"
- "|1 2 3|\n"
- "|1 2 3|\n"
- "|1 2 3|\n"
- "\n"
- "|1 2 3|\n"
- "|1 2 3|\n"
- "|1 2 3|"
- );
-}
-
std::ostream& format_3d(std::ostream& ostr)
{
using namespace explore;
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