|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70951 - sandbox/assign_v2/libs/assign/v2/test
From: erwann.rogard_at_[hidden]
Date: 2011-04-03 11:29:27
Author: e_r
Date: 2011-04-03 11:29:26 EDT (Sun, 03 Apr 2011)
New Revision: 70951
URL: http://svn.boost.org/trac/boost/changeset/70951
Log:
upd assign_v2
Removed:
sandbox/assign_v2/libs/assign/v2/test/csv.cpp
sandbox/assign_v2/libs/assign/v2/test/csv.h
Deleted: sandbox/assign_v2/libs/assign/v2/test/csv.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/csv.cpp 2011-04-03 11:29:26 EDT (Sun, 03 Apr 2011)
+++ (empty file)
@@ -1,78 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-// Boost.Assign v2 //
-// //
-// Copyright (C) 2003-2004 Thorsten Ottosen //
-// Copyright (C) 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 <deque>
-#include <map>
-#include <string>
-#include <boost/assign/v2/detail/config/check.hpp>
-//#include <boost/assign/v2/csv.hpp>
-#include <boost/assign/v2/deque.hpp>
-// Options come after
-#include <boost/assign/v2/option/data_generator.hpp>
-#include <boost/assign/v2/option/modifier/std.hpp>
-#include <boost/assign/v2/put/csv_put.hpp> // Really?
-#include <boost/assign/v2/put/put.hpp>
-#include <boost/range/algorithm/equal.hpp>
-#include <libs/assign/v2/test/csv.h>
-
-namespace test_assign_v2{
-namespace xxx_csv{
-
- void test(){
-
- using namespace boost;
- namespace as2 = assign::v2;
- {
- //[test_csv_put
- std::deque<int> cont;
- as2::csv_put( cont, 1, 10, 100 );
-
- BOOST_ASSIGN_V2_CHECK( range::equal( cont, as2::csv_deque( 1, 10, 100 ) ) );
- //]
- }
- {
- //[test_csv_put_map
- typedef std::map<std::string, int> C; typedef C::value_type T;
- C cont;
-
- as2::csv_put( cont, T("jan", 31), T("feb", 28), T("mar", 31) );
-
- BOOST_ASSIGN_V2_CHECK( cont["jan"] == 31 );
- BOOST_ASSIGN_V2_CHECK( cont["mar"] == 31 );
- //]
- }
- {
- //[test_csv_put_modulo
- std::deque<int> cont;
- as2::csv_put( cont, as2::_push_front, 100, 10, 1 );
-
- BOOST_ASSIGN_V2_CHECK(
- range::equal( cont, as2::csv_deque( 1, 10, 100 ) )
- );
- //]
- }
- /*{
- //[test_csv_deque_modulo
- BOOST_AUTO(
- cont,
- csv(
- as2::deque<int>( as2::_nil ) % as2::_push_front,
- 1, 10, 100
- )
- );
-
- BOOST_ASSIGN_V2_CHECK(
- range::equal( cont, as2::csv_deque( 1, 10, 100 ) )
- );
- //]
- }*/
- }
-
-}// xxx_csv
-}// xxx_test_assign
Deleted: sandbox/assign_v2/libs/assign/v2/test/csv.h
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/csv.h 2011-04-03 11:29:26 EDT (Sun, 03 Apr 2011)
+++ (empty file)
@@ -1,21 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-// Boost.Assign v2 //
-// //
-// Copyright (C) 2003-2004 Thorsten Ottosen //
-// Copyright (C) 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) //
-//////////////////////////////////////////////////////////////////////////////
-#ifndef LIBS_ASSIGN_V2_TEST_CSV_ER_2010_H
-#define LIBS_ASSIGN_V2_TEST_CSV_ER_2010_H
-
-namespace test_assign_v2{
-namespace xxx_csv{
-
- void test();
-
-}// xxx_csv
-}// xxx_test_assign
-
-#endif // LIBS_ASSIGN_V2_TEST_CSV_ER_2010_H
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