Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71434 - trunk/libs/math/test
From: pbristow_at_[hidden]
Date: 2011-04-23 09:30:10


Author: pbristow
Date: 2011-04-23 09:30:10 EDT (Sat, 23 Apr 2011)
New Revision: 71434
URL: http://svn.boost.org/trac/boost/changeset/71434

Log:
Corrected file locations for trunk and removed tabs).
Text files modified:
   trunk/libs/math/test/test_archive.cpp | 32 +++++++++++++++++++-------------
   trunk/libs/math/test/test_lexical_cast.cpp | 6 +++---
   2 files changed, 22 insertions(+), 16 deletions(-)

Modified: trunk/libs/math/test/test_archive.cpp
==============================================================================
--- trunk/libs/math/test/test_archive.cpp (original)
+++ trunk/libs/math/test/test_archive.cpp 2011-04-23 09:30:10 EDT (Sat, 23 Apr 2011)
@@ -1,12 +1,15 @@
 // Copyright (c) 2006 Johan Rade
+// Copyright (c) 2011 Paul A. Bristow - filename changes for boost-trunk.
 
 // Distributed under the Boost Software License, Version 1.0.
 // (See accompanying file LICENSE_1_0.txt
 // or copy at http://www.boost.org/LICENSE_1_0.txt)
 
-#ifdef _MSC_VER
-# pragma warning(disable : 4511 4512 4702)
-#endif
+//#ifdef _MSC_VER
+//# pragma warning(disable : 4511 4512 4702)
+//#endif
+
+#define BOOST_TEST_MAIN
 
 #include <limits>
 #include <locale>
@@ -17,15 +20,18 @@
 #include <boost/archive/text_woarchive.hpp>
 #include <boost/archive/codecvt_null.hpp>
 #include <boost/test/auto_unit_test.hpp>
-#include "../../../../boost/math/nonfinite_num_facets.hpp"
-#include "../../../../boost/math/signbit.hpp"
-#include "../../../../boost/math/fpclassify.hpp"
-#include "almost_equal.hpp"
+#include <boost/math/special_functions/nonfinite_num_facets.hpp>
+#include <boost/math/special_functions/sign.hpp>
+#include <boost/math/special_functions/fpclassify.hpp>
+//#include "../../../../boost/math/nonfinite_num_facets.hpp"
+//#include "../../../../boost/math/signbit.hpp"
+//#include "../../../../boost/math/fpclassify.hpp"
+#include "almost_equal.ipp"
 
 namespace {
 
-// the anonymous namespace resolves ambiguities on platforms
-// with fpclassify etc functions at global scope
+// The anonymous namespace resolves ambiguities on platforms
+// with fpclassify etc functions at global scope.
 
 using namespace boost::archive;
 
@@ -41,10 +47,10 @@
 void archive_get_trap_test();
 
 BOOST_AUTO_TEST_CASE(archive_test)
-{
- //archive_basic_test();
+{
+ archive_basic_test();
     archive_put_trap_test();
- //archive_get_trap_test();
+ archive_get_trap_test();
 }
 
 //------------------------------------------------------------------------------
@@ -155,7 +161,7 @@
         oa & a;
     }
     catch(std::exception&) {
- ss.clear();
+ ss.clear();
         return;
     }
 

Modified: trunk/libs/math/test/test_lexical_cast.cpp
==============================================================================
--- trunk/libs/math/test/test_lexical_cast.cpp (original)
+++ trunk/libs/math/test/test_lexical_cast.cpp 2011-04-23 09:30:10 EDT (Sat, 23 Apr 2011)
@@ -7,9 +7,9 @@
 // (See accompanying file LICENSE_1_0.txt
 // or copy at http://www.boost.org/LICENSE_1_0.txt)
 
-#ifdef _MSC_VER
-# pragma warning(disable : 4127 4511 4512 4701 4702)
-#endif
+//#ifdef _MSC_VER
+//# pragma warning(disable : 4127 4511 4512 4701 4702)
+//#endif
 
 #define BOOST_TEST_MAIN
 


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