1 /*=============================================================================
2 Copyright (c) 1999-2003 Jaakko Jarvi
3 Copyright (c) 2001-2011 Joel de Guzman
5 Distributed under the Boost Software License, Version 1.0. (See accompanying
6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 ==============================================================================*/
8 #include <boost/detail/lightweight_test.hpp>
9 #include <boost/fusion/sequence/comparison.hpp>
14 using namespace boost::fusion;
16 FUSION_SEQUENCE<int, char> v1(5, 'a');
17 FUSION_SEQUENCE<int, char> v2(5, 'a');
20 FUSION_SEQUENCE<int, char> v3(5, 'b');
21 FUSION_SEQUENCE<int, char> t4(2, 'a');
24 BOOST_TEST(!(v1 != v2));
26 FUSION_SEQUENCE<int, char, bool> v5(5, 'a', true);
28 BOOST_TEST(!(v1 == v5));
30 BOOST_TEST(!(v5 == v1));
36 using namespace boost::fusion;
38 FUSION_SEQUENCE<int, float> v1(4, 3.3f);
39 FUSION_SEQUENCE<short, float> v2(5, 3.3f);
40 FUSION_SEQUENCE<long, double> v3(5, 4.4);
50 #if defined(FUSION_TEST_FAIL)
51 FUSION_SEQUENCE<int, char, bool> v5(5, 'a', true);