mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-21 16:22:45 +02:00
Add tests for nested fusion::tuple.
This commit is contained in:
@ -121,6 +121,7 @@ project
|
|||||||
[ run sequence/tuple_make.cpp : : : : ]
|
[ run sequence/tuple_make.cpp : : : : ]
|
||||||
[ run sequence/tuple_misc.cpp : : : : ]
|
[ run sequence/tuple_misc.cpp : : : : ]
|
||||||
[ run sequence/tuple_mutate.cpp : : : : ]
|
[ run sequence/tuple_mutate.cpp : : : : ]
|
||||||
|
[ run sequence/tuple_nest.cpp : : : : ]
|
||||||
[ run sequence/tuple_hash.cpp : : : : ]
|
[ run sequence/tuple_hash.cpp : : : : ]
|
||||||
[ run sequence/tuple_tie.cpp : : : : ]
|
[ run sequence/tuple_tie.cpp : : : : ]
|
||||||
[ run sequence/transform_view.cpp : : : : ]
|
[ run sequence/transform_view.cpp : : : : ]
|
||||||
|
19
test/sequence/tuple_nest.cpp
Normal file
19
test/sequence/tuple_nest.cpp
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (C) 2015 Kohei Takahshi
|
||||||
|
|
||||||
|
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/fusion/tuple/tuple.hpp>
|
||||||
|
#include <boost/core/lightweight_test.hpp>
|
||||||
|
|
||||||
|
#define FUSION_SEQUENCE tuple
|
||||||
|
#include "nest.hpp"
|
||||||
|
|
||||||
|
int
|
||||||
|
main()
|
||||||
|
{
|
||||||
|
test();
|
||||||
|
return boost::report_errors();
|
||||||
|
}
|
||||||
|
|
Reference in New Issue
Block a user