Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61989 - sandbox/SOC/2010/bit_masks/lib/integer/test
From: bbartmanboost_at_[hidden]
Date: 2010-05-15 08:33:36


Author: bbartman
Date: 2010-05-15 08:33:35 EDT (Sat, 15 May 2010)
New Revision: 61989
URL: http://svn.boost.org/trac/boost/changeset/61989

Log:
working on setting up build system with boost.build so that I can use that frame work for testing
Text files modified:
   sandbox/SOC/2010/bit_masks/lib/integer/test/low_bit_mask_test.cpp | 5 ++---
   1 files changed, 2 insertions(+), 3 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/low_bit_mask_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/low_bit_mask_test.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/low_bit_mask_test.cpp 2010-05-15 08:33:35 EDT (Sat, 15 May 2010)
@@ -90,8 +90,7 @@
 
 
 
-template <typename T>
-void test_function() {
+BOOST_TEST_CASE_TEMPLATE_FUNCTION( test_function, T ) {
     // making sure that the value type is transfered correctly.
     BOOST_TEST( (is_same< typename low_bits<T, 3>::value_type, T >::value) );
 
@@ -109,7 +108,7 @@
 struct value_printer {
     template< typename U >
     void operator()(U) {
- test_function<U>();
+ // test_function<U>();
     }
 };
 


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