Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73844 - sandbox/variadic_macro_data/libs/variadic_macro_data/test
From: eldiener_at_[hidden]
Date: 2011-08-17 11:21:19


Author: eldiener
Date: 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
New Revision: 73844
URL: http://svn.boost.org/trac/boost/changeset/73844

Log:
C and C++ tests.
Added:
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail2.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail2.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail2.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail3.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail3.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail3.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail4.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail4.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail4.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail2.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail2.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail2.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail3.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail3.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail3.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail4.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail4.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail4.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail2.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail2.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail2.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail3.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail3.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail3.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail4.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail4.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail4.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail2.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail2.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail2.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail3.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail3.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail3.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail4.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail4.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail4.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_array.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_array.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_array.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_list.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_list.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_list.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_sequence.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_sequence.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_sequence.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_tuple.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_tuple.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_tuple.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_begin_parens.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_begin_parens.cxx
      - copied unchanged from r73731, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_begin_parens.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty.cxx
      - copied unchanged from r73843, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail.cxx (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail2.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail2.cxx (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail3.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail3.cxx (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail4.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail4.cxx (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_remove_parens.c (contents, props changed)
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_remove_parens.cxx
      - copied unchanged from r73703, /sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_remove_parens.cpp
Removed:
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail2.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail3.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail4.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail2.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail3.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail4.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail2.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail3.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail4.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail2.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail3.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail4.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_array.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_list.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_sequence.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_tuple.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_begin_parens.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty.cpp
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_remove_parens.cpp

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_array.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,23 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_array.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS
-
- #define AN_ARRAY (7,(5,7,f,x,%,$,U))
-
- BOOST_VMD_ASSERT_IS_ARRAY((4,(x,3,e,2)))
- BOOST_VMD_ASSERT_IS_ARRAY((6,(x,3,e,2,(4,(x,3,e,2)),$)))
- BOOST_VMD_ASSERT_IS_ARRAY(AN_ARRAY)
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_array_fail.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,24 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_array.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS && BOOST_VMD_ASSERT_DATA
-
- BOOST_VMD_ASSERT_IS_ARRAY((y,(x,3,e,2)))
-
-#else
-
- typedef char BOOST_VMD_ASSERT_IS_ARRAY_ERROR[-1];
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail2.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail2.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_array_fail2.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail2.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail2.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,23 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_array.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS && BOOST_VMD_ASSERT_DATA
-
- BOOST_VMD_ASSERT_IS_ARRAY((3,(x,3,e,2)))
-
-#else
-
- typedef char BOOST_VMD_ASSERT_IS_ARRAY_ERROR[-1];
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail3.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail3.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_array_fail3.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail3.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail3.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,23 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_array.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS && BOOST_VMD_ASSERT_DATA
-
- BOOST_VMD_ASSERT_IS_ARRAY(tree)
-
-#else
-
- typedef char BOOST_VMD_ASSERT_IS_ARRAY_ERROR[-1];
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail4.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail4.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_array_fail4.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail4.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_array_fail4.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,23 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_array.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS && BOOST_VMD_ASSERT_DATA
-
- BOOST_VMD_ASSERT_IS_ARRAY((3,(3,5,6) xc))
-
-#else
-
- typedef char BOOST_VMD_ASSERT_IS_ARRAY_ERROR[-1];
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_list.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,23 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_list.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS
-
- #define A_LIST (e,(g,(&,BOOST_PP_NIL)))
-
- BOOST_VMD_ASSERT_IS_LIST((4,(x,BOOST_PP_NIL)))
- BOOST_VMD_ASSERT_IS_LIST(((3,6m,irj),(x,BOOST_PP_NIL)))
- BOOST_VMD_ASSERT_IS_LIST(A_LIST)
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_list_fail.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,24 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_list.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS && BOOST_VMD_ASSERT_DATA
-
- BOOST_VMD_ASSERT_IS_LIST((4,(x)))
-
-#else
-
- typedef char BOOST_VMD_ASSERT_IS_LIST_ERROR[-1];
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail2.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail2.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_list_fail2.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail2.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail2.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,23 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_list.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS && BOOST_VMD_ASSERT_DATA
-
- BOOST_VMD_ASSERT_IS_LIST((4,(5,BOOST_PP_NIL),6))
-
-#else
-
- typedef char BOOST_VMD_ASSERT_IS_LIST_ERROR[-1];
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail3.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail3.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_list_fail3.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail3.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail3.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,23 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_list.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS && BOOST_VMD_ASSERT_DATA
-
- BOOST_VMD_ASSERT_IS_LIST(4,(5,BOOST_PP_NIL),6)
-
-#else
-
- typedef char BOOST_VMD_ASSERT_IS_LIST_ERROR[-1];
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail4.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail4.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_list_fail4.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail4.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_list_fail4.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,23 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_list.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS && BOOST_VMD_ASSERT_DATA
-
- BOOST_VMD_ASSERT_IS_LIST((tt,(5,(uu,BOOST_PP_NIL yy))))
-
-#else
-
- typedef char BOOST_VMD_ASSERT_IS_LIST_ERROR[-1];
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_seq.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,24 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_seq.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS
-
- BOOST_VMD_ASSERT_IS_SEQ((x))
- BOOST_VMD_ASSERT_IS_SEQ((x)(y))
- BOOST_VMD_ASSERT_IS_SEQ((x)(y)(z)(2)(3)(4))
- BOOST_VMD_ASSERT_IS_SEQ((x)(y)(z)((1,2))(3)(4))
- BOOST_VMD_ASSERT_IS_SEQ((x)(y)(z)((1,2))(3)((4,(x,BOOST_VMD_NIL))))
- BOOST_VMD_ASSERT_IS_SEQ((x)(y)((x)(y)(z)(2)(3)(4))((1,2))(3)((4,(x,BOOST_VMD_NIL))))
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_seq_fail.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,24 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_seq.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS && BOOST_VMD_ASSERT_DATA
-
- BOOST_VMD_ASSERT_IS_SEQ((y,(x,3,e,2)))
-
-#else
-
- typedef char BOOST_VMD_ASSERT_IS_SEQ_ERROR[-1];
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail2.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail2.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_seq_fail2.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail2.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail2.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,23 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_seq.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS && BOOST_VMD_ASSERT_DATA
-
- BOOST_VMD_ASSERT_IS_SEQ((y)2(x))
-
-#else
-
- typedef char BOOST_VMD_ASSERT_IS_SEQ_ERROR[-1];
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail3.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail3.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_seq_fail3.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail3.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail3.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,23 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_seq.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS && BOOST_VMD_ASSERT_DATA
-
- BOOST_VMD_ASSERT_IS_SEQ(y(z)(x))
-
-#else
-
- typedef char BOOST_VMD_ASSERT_IS_SEQ_ERROR[-1];
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail4.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail4.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_seq_fail4.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail4.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_seq_fail4.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,23 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_seq.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS && BOOST_VMD_ASSERT_DATA
-
- BOOST_VMD_ASSERT_IS_SEQ((z)(x)(72)64)
-
-#else
-
- typedef char BOOST_VMD_ASSERT_IS_SEQ_ERROR[-1];
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_tuple.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,29 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_tuple.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS
-
- #define A_TUPLE (*,#,zz)
- #define A_TUPLE2 (*,#,(zz,44,(e7)))
- #define AN_ARRAY (4,(5,7,f,x))
- #define A_LIST (e,(g,(&,BOOST_PP_NIL)))
-
- BOOST_VMD_ASSERT_IS_TUPLE((t,3,e,2))
- BOOST_VMD_ASSERT_IS_TUPLE(((y,s,w),3,e,2))
- BOOST_VMD_ASSERT_IS_TUPLE(A_TUPLE)
- BOOST_VMD_ASSERT_IS_TUPLE(A_TUPLE2)
- BOOST_VMD_ASSERT_IS_TUPLE(AN_ARRAY)
- BOOST_VMD_ASSERT_IS_TUPLE(A_LIST)
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_tuple_fail.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,24 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_tuple.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS && BOOST_VMD_ASSERT_DATA
-
- BOOST_VMD_ASSERT_IS_TUPLE((x,3,e,2)ty)
-
-#else
-
- typedef char BOOST_VMD_ASSERT_IS_TUPLE_ERROR[-1];
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail2.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail2.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_tuple_fail2.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail2.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail2.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,23 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_tuple.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS && BOOST_VMD_ASSERT_DATA
-
- BOOST_VMD_ASSERT_IS_TUPLE(op(x,3,e,2))
-
-#else
-
- typedef char BOOST_VMD_ASSERT_IS_TUPLE_ERROR[-1];
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail3.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail3.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_tuple_fail3.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail3.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail3.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,23 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_tuple.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS && BOOST_VMD_ASSERT_DATA
-
- BOOST_VMD_ASSERT_IS_TUPLE(x,3,e,2)
-
-#else
-
- typedef char BOOST_VMD_ASSERT_IS_TUPLE_ERROR[-1];
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail4.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail4.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_assert_is_tuple_fail4.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail4.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_assert_is_tuple_fail4.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,23 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_assert_is_tuple.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS && BOOST_VMD_ASSERT_DATA
-
- BOOST_VMD_ASSERT_IS_TUPLE((x,3,e,2)(y,rr))
-
-#else
-
- typedef char BOOST_VMD_ASSERT_IS_TUPLE_ERROR[-1];
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_data.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,101 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_data.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-#if BOOST_VMD_VARIADICS
-
-#include <vector>
-#include <string>
-#include <boost/type_traits/is_same.hpp>
-#include <boost/type_traits/is_const.hpp>
-#include <boost/preprocessor/arithmetic/inc.hpp>
-#include <boost/preprocessor/cat.hpp>
-#include <boost/preprocessor/control.hpp>
-#include <boost/preprocessor/comparison/less.hpp>
-#include <boost/preprocessor/logical/and.hpp>
-#include <boost/preprocessor/logical/bitor.hpp>
-#include <boost/preprocessor/selection/max.hpp>
-#include <boost/preprocessor/stringize.hpp>
-
-#endif
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS
-
- #define VMD_TEST_THE_DATA 147,12,the,*,we99,33,++,jjgg,+=,0,1
-
- int mSize(BOOST_VMD_DATA_SIZE(VMD_TEST_THE_DATA));
-
- BOOST_TEST_EQ(mSize,11);
-
- mSize BOOST_VMD_DATA_ELEM(8,VMD_TEST_THE_DATA) 5;
-
- BOOST_TEST_EQ(mSize,16);
-
- int aSize(BOOST_VMD_DATA_SIZE(23,ll,678,456));
-
- BOOST_TEST_EQ(aSize,4);
-
- aSize += mSize BOOST_VMD_DATA_ELEM(3,VMD_TEST_THE_DATA) BOOST_VMD_DATA_SIZE(VMD_TEST_THE_DATA);
-
- BOOST_TEST_EQ(aSize,4 + (16 * 11));
-
- BOOST_TEST_EQ(BOOST_PP_INC(BOOST_VMD_DATA_ELEM(5,VMD_TEST_THE_DATA)),34);
-
- aSize BOOST_PP_CAT(BOOST_VMD_DATA_ELEM(3,VMD_TEST_THE_DATA),=) BOOST_VMD_DATA_ELEM(1,VMD_TEST_THE_DATA);
-
- BOOST_TEST_EQ(aSize,(4 + (16 * 11)) * 12);
-
- int anElement(BOOST_VMD_DATA_ELEM(2,23,ll,678,456));
-
- BOOST_TEST_EQ(anElement,678);
-
- BOOST_TEST_EQ(BOOST_PP_LESS(BOOST_VMD_DATA_SIZE(VMD_TEST_THE_DATA),12),1);
-
- typedef BOOST_PP_EXPR_IF(BOOST_VMD_DATA_ELEM(9,VMD_TEST_THE_DATA),const) int AnIntType;
-
- BOOST_TEST(!(boost::is_const<AnIntType>::value));
-
- typedef BOOST_PP_EXPR_IIF(BOOST_VMD_DATA_ELEM(10,VMD_TEST_THE_DATA),const) int AnotherIntType;
-
- BOOST_TEST(boost::is_const<AnotherIntType>::value);
-
- BOOST_TEST_EQ(BOOST_PP_IF(BOOST_VMD_DATA_ELEM(5,VMD_TEST_THE_DATA),10,20),10);
-
- BOOST_TEST_EQ(BOOST_PP_IIF(BOOST_VMD_DATA_ELEM(9,VMD_TEST_THE_DATA),10,20),20);
-
- bool tb(BOOST_PP_AND(BOOST_VMD_DATA_ELEM(9,VMD_TEST_THE_DATA),BOOST_VMD_DATA_ELEM(1,VMD_TEST_THE_DATA)));
-
- BOOST_TEST_EQ(tb,false);
-
- tb = BOOST_PP_BITOR(BOOST_VMD_DATA_ELEM(10,VMD_TEST_THE_DATA),BOOST_VMD_DATA_ELEM(10,VMD_TEST_THE_DATA));
-
- BOOST_TEST_EQ(tb,true);
-
- BOOST_TEST_EQ(BOOST_PP_MAX(BOOST_VMD_DATA_ELEM(1,VMD_TEST_THE_DATA),BOOST_VMD_DATA_SIZE(VMD_TEST_THE_DATA)),12);
-
- std::string ss(BOOST_PP_STRINGIZE(BOOST_VMD_DATA_ELEM(4,VMD_TEST_THE_DATA)));
- std::string ss2("we99");
-
- BOOST_TEST(ss == ss2);
-
- #define VMD_TEST_EXPAND(...) int,__VA_ARGS__
-
- int numberOfTypes(BOOST_VMD_DATA_SIZE(VMD_TEST_EXPAND(unsigned,long,short,unsigned long)));
-
- BOOST_TEST_EQ(numberOfTypes,5);
-
- typedef std::vector<BOOST_VMD_DATA_ELEM(0,VMD_TEST_EXPAND(unsigned,long,short,unsigned long))>::value_type vtype;
-
- BOOST_TEST((boost::is_same<vtype,int>::value));
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_array.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_array.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_data_as_array.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_array.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_array.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,73 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_to_data.hpp>
-#include <boost/variadic_macro_data/vmd_data.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-#if BOOST_VMD_VARIADICS
-
-#include <boost/preprocessor/array/size.hpp>
-#include <boost/preprocessor/array/elem.hpp>
-#include <boost/preprocessor/repetition/repeat.hpp>
-#include <vector>
-#include <boost/type_traits/is_same.hpp>
-
-#endif
-
-int main()
- {
-
-
-#if BOOST_VMD_VARIADICS
-
- #define VMD_TEST_ARRAY_NUMBERS \
- BOOST_VMD_DATA_TO_PP_ARRAY(47,69,23,985,458,77,12457,89,99872) \
- /**/
-
- #define VMD_TEST_ARRAY_TYPES(...) \
- BOOST_VMD_DATA_TO_PP_ARRAY(int,__VA_ARGS__) \
- /**/
-
- int addedNumber(0);
-
- #define VMD_TEST_ADD_TO_INT(z,n,data) \
- if (BOOST_PP_ARRAY_SIZE(data) > n) \
- { \
- addedNumber += BOOST_PP_ARRAY_ELEM(n,data); \
- } \
- /**/
-
-#if BOOST_VMD_MSVC
-
-#pragma warning( push )
-#pragma warning( disable : 4127 )
-
-#endif
-
- BOOST_PP_REPEAT(BOOST_PP_ARRAY_SIZE(VMD_TEST_ARRAY_NUMBERS),VMD_TEST_ADD_TO_INT,VMD_TEST_ARRAY_NUMBERS)
-
-#if BOOST_VMD_MSVC
-
-#pragma warning( pop )
-
-#endif
-
- addedNumber += BOOST_VMD_DATA_ELEM(5,BOOST_VMD_PP_ARRAY_TO_DATA(VMD_TEST_ARRAY_NUMBERS));
-
- BOOST_TEST_EQ(addedNumber,47+69+23+985+458+77+12457+89+99872+77);
-
- int numberOfTypes(BOOST_PP_ARRAY_SIZE(VMD_TEST_ARRAY_TYPES(unsigned,long,short,unsigned long,double,float)));
-
- BOOST_TEST_EQ(numberOfTypes,7);
-
- typedef std::vector<BOOST_PP_ARRAY_ELEM(4,VMD_TEST_ARRAY_TYPES(unsigned,long,short,unsigned long,double,float))>::value_type vtype;
-
- BOOST_TEST((boost::is_same<vtype,unsigned long>::value));
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_list.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_list.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_data_as_list.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_list.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_list.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,72 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_to_data.hpp>
-#include <boost/variadic_macro_data/vmd_data.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-#if BOOST_VMD_VARIADICS
-
-#include <boost/preprocessor/list/at.hpp>
-#include <boost/preprocessor/list/size.hpp>
-#include <boost/preprocessor/repetition/repeat.hpp>
-#include <vector>
-#include <boost/type_traits/is_same.hpp>
-
-#endif
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS
-
- #define VMD_TEST_LIST_NUMBERS \
- BOOST_VMD_DATA_TO_PP_LIST(34,23467,12,9984,34,678,7890,1235678,3489,1,8965,345) \
- /**/
-
- #define VMD_TEST_LIST_TYPES(...) \
- BOOST_VMD_DATA_TO_PP_LIST(unsigned char,__VA_ARGS__) \
- /**/
-
- int addedNumber(0);
-
- #define VMD_TEST_ADD_TO_INT(z,n,data) \
- if (BOOST_PP_LIST_SIZE(data) > n) \
- { \
- addedNumber += BOOST_PP_LIST_AT(data,n); \
- } \
- /**/
-
-#if BOOST_VMD_MSVC
-
-#pragma warning( push )
-#pragma warning( disable : 4127 )
-
-#endif
-
- BOOST_PP_REPEAT(BOOST_PP_LIST_SIZE(VMD_TEST_LIST_NUMBERS),VMD_TEST_ADD_TO_INT,VMD_TEST_LIST_NUMBERS)
-
-#if BOOST_VMD_MSVC
-
-#pragma warning( pop )
-
-#endif
-
- addedNumber += BOOST_VMD_DATA_ELEM(8,BOOST_VMD_PP_LIST_TO_DATA(VMD_TEST_LIST_NUMBERS));
-
- BOOST_TEST_EQ(addedNumber,34+23467+12+9984+34+678+7890+1235678+3489+1+8965+345+3489);
-
- int numberOfTypes(BOOST_PP_LIST_SIZE(VMD_TEST_LIST_TYPES(unsigned short,unsigned,long,short,unsigned long,double,float,char)));
-
- BOOST_TEST_EQ(numberOfTypes,9);
-
- typedef std::vector<BOOST_PP_LIST_AT(VMD_TEST_LIST_TYPES(unsigned short,unsigned,long,short,unsigned long,double,float,char),3)>::value_type vtype;
-
- BOOST_TEST((boost::is_same<vtype,long>::value));
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_sequence.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_sequence.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_data_as_sequence.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_sequence.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_sequence.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,72 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_to_data.hpp>
-#include <boost/variadic_macro_data/vmd_data.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-#if BOOST_VMD_VARIADICS
-
-#include <boost/preprocessor/seq/size.hpp>
-#include <boost/preprocessor/seq/elem.hpp>
-#include <boost/preprocessor/repetition/repeat.hpp>
-#include <vector>
-#include <boost/type_traits/is_same.hpp>
-
-#endif
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS
-
- #define VMD_TEST_SEQ_NUMBERS \
- BOOST_VMD_DATA_TO_PP_SEQ(4578,24,789436,78345,902,345,860,667433,56,727,47891) \
- /**/
-
- #define VMD_TEST_SEQ_TYPES(...) \
- BOOST_VMD_DATA_TO_PP_SEQ(bool,__VA_ARGS__) \
- /**/
-
- int addedNumber(0);
-
- #define VMD_TEST_ADD_TO_INT(z,n,data) \
- if (BOOST_PP_SEQ_SIZE(data) > n) \
- { \
- addedNumber += BOOST_PP_SEQ_ELEM(n,data); \
- } \
- /**/
-
-#if BOOST_VMD_MSVC
-
-#pragma warning( push )
-#pragma warning( disable : 4127 )
-
-#endif
-
- BOOST_PP_REPEAT(BOOST_PP_SEQ_SIZE(VMD_TEST_SEQ_NUMBERS),VMD_TEST_ADD_TO_INT,VMD_TEST_SEQ_NUMBERS)
-
-#if BOOST_VMD_MSVC
-
-#pragma warning( pop )
-
-#endif
-
- addedNumber += BOOST_VMD_DATA_ELEM(2,BOOST_VMD_PP_SEQ_TO_DATA(VMD_TEST_SEQ_NUMBERS));
-
- BOOST_TEST_EQ(addedNumber,4578+24+789436+78345+902+345+860+667433+56+727+47891+789436);
-
- int numberOfTypes(BOOST_PP_SEQ_SIZE(VMD_TEST_SEQ_TYPES(long,short,unsigned long,double,float)));
-
- BOOST_TEST_EQ(numberOfTypes,6);
-
- typedef std::vector<BOOST_PP_SEQ_ELEM(5,VMD_TEST_SEQ_TYPES(long,short,unsigned long,double,float))>::value_type vtype;
-
- BOOST_TEST((boost::is_same<vtype,float>::value));
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_tuple.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_tuple.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_data_as_tuple.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_tuple.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_data_as_tuple.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,95 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_tuple.hpp>
-#include <boost/variadic_macro_data/vmd_data.hpp>
-#include <boost/variadic_macro_data/vmd_to_data.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-#if BOOST_VMD_VARIADICS
-
-#include <boost/preprocessor/list/size.hpp>
-#include <boost/preprocessor/seq/size.hpp>
-#include <boost/preprocessor/tuple/rem.hpp>
-#include <boost/preprocessor/tuple/eat.hpp>
-#include <boost/preprocessor/repetition/repeat.hpp>
-#include <vector>
-#include <boost/type_traits/is_same.hpp>
-
-#endif
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS
-
- #define VMD_TEST_TUPLE_NUMBERS \
- BOOST_VMD_DATA_TO_PP_TUPLE(23,45,147,6,7743,12,67,43,89045,82) \
- /**/
-
- #define VMD_TEST_TUPLE_NUMBERS2 \
- BOOST_VMD_DATA_TO_PP_TUPLE(23,45,147,6,7743) \
- /**/
-
- #define VMD_TEST_TUPLE_NUMBERS3 \
- BOOST_VMD_DATA_TO_PP_TUPLE(23,45,147,6,7743,12,67,43,89045,82,8743,11) \
- /**/
-
- #define VMD_TEST_TUPLE_TYPES(...) \
- BOOST_VMD_DATA_TO_PP_TUPLE(int,__VA_ARGS__) \
- /**/
-
- int addedNumber(0);
-
- #define VMD_TEST_ADD_TO_INT(z,n,data) \
- if (BOOST_VMD_PP_TUPLE_SIZE(data) > n) \
- { \
- addedNumber += BOOST_VMD_PP_TUPLE_ELEM(n,BOOST_VMD_PP_TUPLE_REVERSE(data)); \
- } \
- /**/
-
-#if BOOST_VMD_MSVC
-
-#pragma warning( push )
-#pragma warning( disable : 4127 )
-
-#endif
-
- BOOST_PP_REPEAT(BOOST_VMD_PP_TUPLE_SIZE(VMD_TEST_TUPLE_NUMBERS),VMD_TEST_ADD_TO_INT,VMD_TEST_TUPLE_NUMBERS)
-
-#if BOOST_VMD_MSVC
-
-#pragma warning( pop )
-
-#endif
-
- addedNumber += BOOST_VMD_DATA_ELEM(5,BOOST_VMD_PP_TUPLE_TO_DATA(VMD_TEST_TUPLE_NUMBERS));
- addedNumber += BOOST_VMD_DATA_ELEM(3,BOOST_PP_TUPLE_REM(BOOST_VMD_PP_TUPLE_SIZE(VMD_TEST_TUPLE_NUMBERS))(23,45,147,6,7743,12,67,43,89045,82));
- addedNumber += BOOST_VMD_DATA_ELEM(4,BOOST_VMD_PP_TUPLE_REM_CTOR(VMD_TEST_TUPLE_NUMBERS));
-
- BOOST_PP_TUPLE_EAT(BOOST_VMD_PP_TUPLE_SIZE(VMD_TEST_TUPLE_NUMBERS))(23,45,147,6,7743,12,67,43,89045,82)
-
- BOOST_TEST_EQ(addedNumber,23+45+147+6+7743+12+67+43+89045+82+12+6+7743);
-
- int listSize(BOOST_PP_LIST_SIZE(BOOST_VMD_PP_TUPLE_TO_LIST(VMD_TEST_TUPLE_NUMBERS2)));
-
- BOOST_TEST_EQ(listSize,5);
-
- int seqSize(BOOST_PP_SEQ_SIZE(BOOST_VMD_PP_TUPLE_TO_SEQ(VMD_TEST_TUPLE_NUMBERS3)));
-
- BOOST_TEST_EQ(seqSize,12);
-
- int numberOfTypes(BOOST_VMD_PP_TUPLE_SIZE(VMD_TEST_TUPLE_TYPES(unsigned,long,short,unsigned long,double,float)));
-
- BOOST_TEST_EQ(numberOfTypes,7);
-
- typedef std::vector<BOOST_VMD_PP_TUPLE_ELEM(5,VMD_TEST_TUPLE_TYPES(unsigned,long,short,unsigned long,double,float))>::value_type vtype;
-
- BOOST_TEST((boost::is_same<vtype,double>::value));
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_begin_parens.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_begin_parens.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_is_begin_parens.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_begin_parens.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_begin_parens.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,41 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_is_begin_parens.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS
-
- #define A_TUPLE (*,#,zz)
- #define A_TUPLE2 (*,#,(zz,44,(e7)))
- #define A_TUPLE_PLUS (mmf,34,^^,!) 456
- #define PLUS_ATUPLE yyt (j,ii%)
- #define JDATA ggh
- #define NOT_TUPLE y6()
- #define NOT_TUPLE2 &(kkkgg,(e))
- #define A_SEQ (r)($)(#)
- #define AN_ARRAY (4,(5,7,f,x))
- #define A_LIST (e,(g,(&,BOOST_PP_NIL)))
-
- BOOST_TEST(!BOOST_VMD_IS_BEGIN_PARENS());
- BOOST_TEST(BOOST_VMD_IS_BEGIN_PARENS(A_TUPLE));
- BOOST_TEST(BOOST_VMD_IS_BEGIN_PARENS(A_TUPLE2));
- BOOST_TEST(BOOST_VMD_IS_BEGIN_PARENS(A_TUPLE_PLUS));
- BOOST_TEST(!BOOST_VMD_IS_BEGIN_PARENS(PLUS_ATUPLE));
- BOOST_TEST(!BOOST_VMD_IS_BEGIN_PARENS(JDATA));
- BOOST_TEST(!BOOST_VMD_IS_BEGIN_PARENS(NOT_TUPLE));
- BOOST_TEST(!BOOST_VMD_IS_BEGIN_PARENS(NOT_TUPLE2));
- BOOST_TEST(BOOST_VMD_IS_BEGIN_PARENS(A_SEQ));
- BOOST_TEST(BOOST_VMD_IS_BEGIN_PARENS(AN_ARRAY));
- BOOST_TEST(BOOST_VMD_IS_BEGIN_PARENS(A_LIST));
- BOOST_TEST(BOOST_VMD_IS_BEGIN_PARENS((y)2(x)));
-
-#endif
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_is_empty.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,62 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_is_empty.hpp>
-#endif
-#include <boost/preprocessor/facilities/empty.hpp>
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS
-
- #define DATA
- #define OBJECT OBJECT2
- #define OBJECT2
- #define FUNC(x) FUNC2(x)
- #define FUNC2(x)
-
- BOOST_TEST(BOOST_VMD_IS_EMPTY(BOOST_PP_EMPTY()));
- BOOST_TEST(BOOST_VMD_IS_EMPTY(DATA BOOST_PP_EMPTY()));
- BOOST_TEST(!BOOST_VMD_IS_EMPTY((x BOOST_PP_EMPTY())));
- BOOST_TEST(BOOST_VMD_IS_EMPTY(OBJECT BOOST_PP_EMPTY()));
- BOOST_TEST(BOOST_VMD_IS_EMPTY(FUNC(z) BOOST_PP_EMPTY()));
-
- #define FUNC_GEN() ()
- #define FUNC_GEN2(x) ()
- #define FUNC_GEN3() anything
- #define FUNC_GEN4(x) anything
-
-#if BOOST_VMD_MSVC
-
- #define FUNC_GEN5(x,y) anything
- #define FUNC_GEN6() (&)
- #define FUNC_GEN7(x) (y)
- #define FUNC_GEN8() (y,z)
-
- /* This shows that VC++ does not work correctly in these cases. */
-
- BOOST_TEST(BOOST_VMD_IS_EMPTY(FUNC_GEN)); /* This produces the wrong result */
- BOOST_TEST(BOOST_VMD_IS_EMPTY(FUNC_GEN2)); /* This produces the wrong result */
-
- BOOST_TEST(!BOOST_VMD_IS_EMPTY(FUNC_GEN5)); /* This should produce a compiler error but does not */
- BOOST_TEST(BOOST_VMD_IS_EMPTY(FUNC_GEN6)); /* This produces the wrong results and also should produce a compiler error but does not */
- BOOST_TEST(BOOST_VMD_IS_EMPTY(FUNC_GEN7)); /* This produces the wrong results and also should produce a compiler error but does not */
- BOOST_TEST(BOOST_VMD_IS_EMPTY(FUNC_GEN8)); /* This produces the wrong results and also should produce a compiler error but does not */
-
-#else
-
- BOOST_TEST(!BOOST_VMD_IS_EMPTY(FUNC_GEN));
- BOOST_TEST(!BOOST_VMD_IS_EMPTY(FUNC_GEN2));
-
-#endif /* BOOST_VMD_MSVC */
-
- BOOST_TEST(!BOOST_VMD_IS_EMPTY(FUNC_GEN3));
- BOOST_TEST(!BOOST_VMD_IS_EMPTY(FUNC_GEN4));
-
-#endif /* BOOST_VMD_VARIADICS */
-
- return boost::report_errors();
-
- }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_is_empty_fail.cxx>

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail.cxx
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail.cxx 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1,25 @@
+#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
+#include <boost/variadic_macro_data/vmd.hpp>
+#else
+#include <boost/variadic_macro_data/vmd_is_empty.hpp>
+#endif
+#include <boost/detail/lightweight_test.hpp>
+
+int main()
+ {
+
+#if BOOST_VMD_VARIADICS && !BOOST_VMD_MSVC
+
+ #define FUNC_GEN(x,y) anything
+
+ BOOST_TEST(!BOOST_VMD_IS_EMPTY(FUNC_GEN));
+
+#else
+
+ typedef char BOOST_VMD_IS_EMPTY_ERROR[-1];
+
+#endif /* BOOST_VMD_VARIADICS */
+
+ return boost::report_errors();
+
+ }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail2.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail2.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_is_empty_fail2.cxx>

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail2.cxx
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail2.cxx 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1,25 @@
+#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
+#include <boost/variadic_macro_data/vmd.hpp>
+#else
+#include <boost/variadic_macro_data/vmd_is_empty.hpp>
+#endif
+#include <boost/detail/lightweight_test.hpp>
+
+int main()
+ {
+
+#if BOOST_VMD_VARIADICS && !BOOST_VMD_MSVC
+
+ #define FUNC_GEN() (&)
+
+ BOOST_TEST(!BOOST_VMD_IS_EMPTY(FUNC_GEN));
+
+#else
+
+ typedef char BOOST_VMD_IS_EMPTY_ERROR[-1];
+
+#endif /* BOOST_VMD_VARIADICS */
+
+ return boost::report_errors();
+
+ }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail3.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail3.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_is_empty_fail3.cxx>

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail3.cxx
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail3.cxx 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1,25 @@
+#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
+#include <boost/variadic_macro_data/vmd.hpp>
+#else
+#include <boost/variadic_macro_data/vmd_is_empty.hpp>
+#endif
+#include <boost/detail/lightweight_test.hpp>
+
+int main()
+ {
+
+#if BOOST_VMD_VARIADICS && !BOOST_VMD_MSVC
+
+ #define FUNC_GEN(x) (y)
+
+ BOOST_TEST(!BOOST_VMD_IS_EMPTY(FUNC_GEN));
+
+#else
+
+ typedef char BOOST_VMD_IS_EMPTY_ERROR[-1];
+
+#endif /* BOOST_VMD_VARIADICS */
+
+ return boost::report_errors();
+
+ }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail4.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail4.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_is_empty_fail4.cxx>

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail4.cxx
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_is_empty_fail4.cxx 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1,25 @@
+#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
+#include <boost/variadic_macro_data/vmd.hpp>
+#else
+#include <boost/variadic_macro_data/vmd_is_empty.hpp>
+#endif
+#include <boost/detail/lightweight_test.hpp>
+
+int main()
+ {
+
+#if BOOST_VMD_VARIADICS && !BOOST_VMD_MSVC
+
+ #define FUNC_GEN() (y,z)
+
+ BOOST_TEST(!BOOST_VMD_IS_EMPTY(FUNC_GEN));
+
+#else
+
+ typedef char BOOST_VMD_IS_EMPTY_ERROR[-1];
+
+#endif /* BOOST_VMD_VARIADICS */
+
+ return boost::report_errors();
+
+ }

Added: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_remove_parens.c
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_remove_parens.c 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
@@ -0,0 +1 @@
+#include <libs/variadic_macro_data/test/test_remove_parens.cxx>

Deleted: sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_remove_parens.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/test_remove_parens.cpp 2011-08-17 11:21:13 EDT (Wed, 17 Aug 2011)
+++ (empty file)
@@ -1,27 +0,0 @@
-#if defined(BOOST_VMD_TEST_GENERAL_HEADER)
-#include <boost/variadic_macro_data/vmd.hpp>
-#else
-#include <boost/variadic_macro_data/vmd_remove_parens.hpp>
-#endif
-#include <boost/detail/lightweight_test.hpp>
-
-int main()
- {
-
-#if BOOST_VMD_VARIADICS
-
- #define DATA (5 + 3) * 4
- #define DATA2 4 * (5 + 3)
- #define DATA3 4 * (5 + 3) * (2 + 1)
- #define DATA4 (5 + 3) * (2 + 1) * 4
-
- BOOST_TEST_EQ(BOOST_VMD_REMOVE_PARENS(DATA),17);
- BOOST_TEST_EQ(BOOST_VMD_REMOVE_PARENS(DATA2),32);
- BOOST_TEST_EQ(BOOST_VMD_REMOVE_PARENS(DATA3),96);
- BOOST_TEST_EQ(BOOST_VMD_REMOVE_PARENS(DATA4),41);
-
-#endif
-
- return boost::report_errors();
-
- }


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