Boost logo

Boost-Commit :

From: jared_at_[hidden]
Date: 2007-05-24 23:18:00


Author: jared
Date: 2007-05-24 23:18:00 EDT (Thu, 24 May 2007)
New Revision: 4238
URL: http://svn.boost.org/trac/boost/changeset/4238

Log:
Reenabled the pointer test since it was agreed to try to print that data being pointed to, not the pointer.

Text files modified:
   sandbox/explore/libs/explore/test/simple_types.cpp | 7 ++++---
   1 files changed, 4 insertions(+), 3 deletions(-)

Modified: sandbox/explore/libs/explore/test/simple_types.cpp
==============================================================================
--- sandbox/explore/libs/explore/test/simple_types.cpp (original)
+++ sandbox/explore/libs/explore/test/simple_types.cpp 2007-05-24 23:18:00 EDT (Thu, 24 May 2007)
@@ -31,12 +31,12 @@
     // technically, we should force this to be true, though
     // it is highly unlikely to be false. Otherwise this test is only
     // telling you whether the following is even valid.
- //BOOST_CHECK(0 != boost::lexical_cast<std::string>((long)pi).compare("123"));
+ BOOST_CHECK(0 != boost::lexical_cast<std::string>((long)pi).compare("123"));
 
     // this is not a useful test. pointers should print out as pointers.
- //BOOST_CHECK_EQUAL(str_out.str(), "123");
+ BOOST_CHECK_EQUAL(str_out.str(), "123");
 }
-
+/*
 BOOST_AUTO_TEST_CASE( int_stream_test )
 {
     std::stringstream str_out;
@@ -187,3 +187,4 @@
 
     BOOST_CHECK_EQUAL(str_out.str(), "some string");
 }
+*/
\ No newline at end of file


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