Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61993 - sandbox/SOC/2010/bit_masks/lib/integer/test
From: bbartmanboost_at_[hidden]
Date: 2010-05-15 09:19:59


Author: bbartman
Date: 2010-05-15 09:19:58 EDT (Sat, 15 May 2010)
New Revision: 61993
URL: http://svn.boost.org/trac/boost/changeset/61993

Log:
adding license information into test files
Text files modified:
   sandbox/SOC/2010/bit_masks/lib/integer/test/bit_mask_test.cpp | 4 ++
   sandbox/SOC/2010/bit_masks/lib/integer/test/bit_width_test.cpp | 5 ++
   sandbox/SOC/2010/bit_masks/lib/integer/test/high_bit_mask_test.cpp | 5 ++
   sandbox/SOC/2010/bit_masks/lib/integer/test/low_bit_mask_test.cpp | 4 ++
   sandbox/SOC/2010/bit_masks/lib/integer/test/mask_check.cpp | 4 ++
   sandbox/SOC/2010/bit_masks/lib/integer/test/test_type_list.hpp | 76 ++++++++++++++++++++++++++++++++++++++++
   6 files changed, 98 insertions(+), 0 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bit_mask_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bit_mask_test.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bit_mask_test.cpp 2010-05-15 09:19:58 EDT (Sat, 15 May 2010)
@@ -1,3 +1,7 @@
+// Copyright 2010 Brian Bartman.
+// 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)
 
 int main() {
     return 0;

Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bit_width_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bit_width_test.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bit_width_test.cpp 2010-05-15 09:19:58 EDT (Sat, 15 May 2010)
@@ -1,3 +1,8 @@
+// Copyright 2010 Brian Bartman.
+// 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)
+
 #include <boost/assert.hpp>
 #include <boost/type_traits.hpp>
 #include <boost/integer/bit_width.hpp>

Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/high_bit_mask_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/high_bit_mask_test.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/high_bit_mask_test.cpp 2010-05-15 09:19:58 EDT (Sat, 15 May 2010)
@@ -1,3 +1,8 @@
+// Copyright 2010 Brian Bartman.
+// 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)
+
 #include <boost/assert.hpp>
 #include <boost/type_traits.hpp>
 #include <boost/integer/high_low_bits.hpp>

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 09:19:58 EDT (Sat, 15 May 2010)
@@ -1,3 +1,7 @@
+// Copyright 2010 Brian Bartman.
+// 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)
 
 #include <boost/mpl/list.hpp>
 #include <boost/mpl/for_each.hpp>

Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/mask_check.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/mask_check.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/mask_check.cpp 2010-05-15 09:19:58 EDT (Sat, 15 May 2010)
@@ -1,3 +1,7 @@
+// Copyright 2010 Brian Bartman.
+// 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)
 
 #include <boost/integer/bit_mask.hpp>
 

Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/test_type_list.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/test_type_list.hpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/test_type_list.hpp 2010-05-15 09:19:58 EDT (Sat, 15 May 2010)
@@ -0,0 +1,76 @@
+// Copyright 2010 Brian Bartman.
+// 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)
+
+/** This is a header file used for creating a list of all of the different
+ * types which I wish to run all tests against.
+ *
+ * Basically the idea is to use boost for_each to test all of the different
+ * types inside the list by passing it off to a function template.
+ *
+ */
+
+
+#ifndef BOOST_BITS_AND_INTS_TESTING_TYPE_LIST_HPP
+#define BOOST_BITS_AND_INTS_TESTING_TYPE_LIST_HPP
+#include <boost/cstdint.hpp>
+#include <boost/mpl/list.hpp>
+#include <boost/mpl/for_each.hpp>
+
+using namespace boost;
+
+/*
+
+integer types from boost integer:
+
+int_least8_t
+int_least16_t
+int_least32_t
+uint_least8_t
+uint_least16_t
+uint_least32_t
+
+
+The following types are available only if, after including <boost/cstdint.hpp>,
+the macro BOOST_NO_INT64_T is not defined:
+
+int_least64_t
+uint_least64_t
+
+The following fastest minimum-width integer types are provided for all platforms:
+
+int_fast8_t
+int_fast16_t
+int_fast32_t
+uint_fast8_t
+uint_fast16_t
+uint_fast32_t
+
+The following types are available only if, after including <boost/cstdint.hpp>,
+the macro BOOST_NO_INT64_T is not defined:
+
+int_fast64_t
+uint_fast64_t
+
+/////
+typedef low_bits<T, 3> lbits
+*/
+
+// testing type list.
+typedef boost::mpl::list<
+ char,
+ unsigned char,
+ short,
+ unsigned short,
+ long,
+ unsigned long,
+ int,
+ unsigned int
+#if 0
+ ,
+ long long,
+ unsigned long long
+#endif
+ > test_types;
+#endif


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