Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2008-01-25 12:12:09


Author: johnmaddock
Date: 2008-01-25 12:12:09 EST (Fri, 25 Jan 2008)
New Revision: 42969
URL: http://svn.boost.org/trac/boost/changeset/42969

Log:
Begun to add interval test cases.
Text files modified:
   sandbox/interval_math_toolkit/libs/math/test/Jamfile.v2 | 7 +------
   sandbox/interval_math_toolkit/libs/math/test/interval_concept_check.cpp | 11 ++---------
   sandbox/interval_math_toolkit/libs/math/test/mpfr_concept_check.cpp | 2 +-
   3 files changed, 4 insertions(+), 16 deletions(-)

Modified: sandbox/interval_math_toolkit/libs/math/test/Jamfile.v2
==============================================================================
--- sandbox/interval_math_toolkit/libs/math/test/Jamfile.v2 (original)
+++ sandbox/interval_math_toolkit/libs/math/test/Jamfile.v2 2008-01-25 12:12:09 EST (Fri, 25 Jan 2008)
@@ -384,12 +384,7 @@
 compile compile_test/tools_test_inc_test.cpp ;
 compile compile_test/tools_toms748_inc_test.cpp ;
 
-
-
-
-
-
-
+compile interval_concept_check.cpp ;
 
 
 

Modified: sandbox/interval_math_toolkit/libs/math/test/interval_concept_check.cpp
==============================================================================
--- sandbox/interval_math_toolkit/libs/math/test/interval_concept_check.cpp (original)
+++ sandbox/interval_math_toolkit/libs/math/test/interval_concept_check.cpp 2008-01-25 12:12:09 EST (Fri, 25 Jan 2008)
@@ -8,20 +8,13 @@
 // conceptual requirements, and that we can instantiate
 // all our distributions and special functions on this type.
 //
-#define BOOST_MATH_INSTRUMENT
-
+#define TEST_INTERVAL
 #define BOOST_MATH_ASSERT_UNDEFINED_POLICY false
 
 #include <boost/math/bindings/interval.hpp>
 #include <boost/math/concepts/real_type_concept.hpp>
 #include "compile_test/instantiate.hpp"
-
-
-typedef boost::numeric::interval<double,
- boost::numeric::interval_lib::policies<
- boost::numeric::interval_lib::save_state<
- boost::numeric::interval_lib::rounded_transc_opp<double> >,
- boost::numeric::interval_lib::checking_base<double> > > interval_type;
+#include "handle_test_result.hpp" // for interval_type
 
 
 void foo()

Modified: sandbox/interval_math_toolkit/libs/math/test/mpfr_concept_check.cpp
==============================================================================
--- sandbox/interval_math_toolkit/libs/math/test/mpfr_concept_check.cpp (original)
+++ sandbox/interval_math_toolkit/libs/math/test/mpfr_concept_check.cpp 2008-01-25 12:12:09 EST (Fri, 25 Jan 2008)
@@ -19,7 +19,7 @@
 
 void foo()
 {
- //instantiate(mpfr_class());
+ instantiate(mpfr_class());
 }
 
 int 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