|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r60398 - sandbox/statistics/detail/assign/libs/assign/test
From: erwann.rogard_at_[hidden]
Date: 2010-03-09 20:44:17
Author: e_r
Date: 2010-03-09 20:44:17 EST (Tue, 09 Mar 2010)
New Revision: 60398
URL: http://svn.boost.org/trac/boost/changeset/60398
Log:
m
Added:
sandbox/statistics/detail/assign/libs/assign/test/ref_csv.cpp (contents, props changed)
Added: sandbox/statistics/detail/assign/libs/assign/test/ref_csv.cpp
==============================================================================
--- (empty file)
+++ sandbox/statistics/detail/assign/libs/assign/test/ref_csv.cpp 2010-03-09 20:44:17 EST (Tue, 09 Mar 2010)
@@ -0,0 +1,36 @@
+//////////////////////////////////////////////////////////////////////////////
+// assign::test::ref_csv.cpp //
+// //
+// (C) Copyright 2010 Erwann Rogard //
+// Use, modification and distribution are subject to 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/detail/workaround.hpp>
+
+#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
+# pragma warn -8091 // supress warning in Boost.Test
+# pragma warn -8057 // unused argument argc/argv in Boost.Test
+#endif
+
+#include <boost/test/test_tools.hpp>
+#define BOOST_ASSIGN_CHECK_EQUAL(a,b) BOOST_CHECK_EQUAL(a,b)
+#include <boost/assign/auto_size/check/ref_csv.hpp>
+
+void check_ref_csv()
+{
+ boost::assign::detail::auto_size::check_ref_csv<int>();
+}
+#include <boost/test/unit_test.hpp>
+using boost::unit_test::test_suite;
+
+test_suite* init_unit_test_suite( int argc, char* argv[] )
+{
+ test_suite* test = BOOST_TEST_SUITE( "List Test Suite" );
+
+ test->add( BOOST_TEST_CASE( &check_ref_csv ) );
+
+ return test;
+}
+
+#undef BOOST_ASSIGN_CHECK_EQUAL
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