]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/hana/test/set/difference.cpp
fdb7c91c028bae7d839a030f4205f35420abc311
1 // Copyright Louis Dionne 2013-2017
2 // Distributed under the Boost Software License, Version 1.0.
3 // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
5 #include <boost/hana/assert.hpp>
6 #include <boost/hana/difference.hpp>
7 #include <boost/hana/equal.hpp>
8 #include <boost/hana/set.hpp>
10 #include <laws/base.hpp>
11 namespace hana
= boost::hana
;
12 using hana::test::ct_eq
;
16 BOOST_HANA_CONSTANT_CHECK(hana::equal(
23 BOOST_HANA_CONSTANT_CHECK(hana::equal(
25 hana::make_set(ct_eq
<0>{}),
28 hana::make_set(ct_eq
<0>{})
30 BOOST_HANA_CONSTANT_CHECK(hana::equal(
32 hana::make_set(ct_eq
<0>{}, ct_eq
<1>{}),
35 hana::make_set(ct_eq
<0>{}, ct_eq
<1>{})
37 BOOST_HANA_CONSTANT_CHECK(hana::equal(
39 hana::make_set(ct_eq
<0>{}, ct_eq
<1>{}, ct_eq
<2>{}),
42 hana::make_set(ct_eq
<0>{}, ct_eq
<1>{}, ct_eq
<2>{})
45 BOOST_HANA_CONSTANT_CHECK(hana::equal(
47 hana::make_set(ct_eq
<0>{}, ct_eq
<1>{}, ct_eq
<2>{}),
48 hana::make_set(ct_eq
<1>{})
50 hana::make_set(ct_eq
<0>{}, ct_eq
<2>{})
52 BOOST_HANA_CONSTANT_CHECK(hana::equal(
54 hana::make_set(ct_eq
<0>{}, ct_eq
<1>{}, ct_eq
<2>{}),
55 hana::make_set(ct_eq
<1>{}, ct_eq
<3>{})
57 hana::make_set(ct_eq
<0>{}, ct_eq
<2>{})
60 BOOST_HANA_CONSTANT_CHECK(hana::equal(
62 hana::make_set(ct_eq
<0>{}, ct_eq
<1>{}, ct_eq
<2>{}),
63 hana::make_set(ct_eq
<1>{}, ct_eq
<3>{}, ct_eq
<2>{})
65 hana::make_set(ct_eq
<0>{})