]>
Commit | Line | Data |
---|---|---|
1e59de90 | 1 | /*-----------------------------------------------------------------------------+ |
7c673cae FG |
2 | Copyright (c) 2008-2009: Joachim Faulhaber |
3 | +------------------------------------------------------------------------------+ | |
4 | Distributed under the Boost Software License, Version 1.0. | |
5 | (See accompanying file LICENCE.txt or copy at | |
6 | http://www.boost.org/LICENSE_1_0.txt) | |
7 | +-----------------------------------------------------------------------------*/ | |
8 | #define BOOST_TEST_MODULE icl::interval_set_mixed unit test | |
9 | #include <libs/icl/test/disable_test_warnings.hpp> | |
10 | #include <string> | |
11 | #include <boost/mpl/list.hpp> | |
12 | #include "../unit_test_unwarned.hpp" | |
13 | ||
14 | ||
15 | // interval instance types | |
16 | #include "../test_type_lists.hpp" | |
17 | #include "../test_value_maker.hpp" | |
18 | ||
19 | #include <boost/icl/interval_set.hpp> | |
20 | #include <boost/icl/separate_interval_set.hpp> | |
21 | #include <boost/icl/split_interval_set.hpp> | |
22 | ||
23 | using namespace std; | |
24 | using namespace boost; | |
25 | using namespace unit_test; | |
26 | using namespace boost::icl; | |
27 | ||
1e59de90 TL |
28 | #ifdef BOOST_CLANG |
29 | #pragma clang diagnostic push | |
30 | #pragma clang diagnostic ignored "-Wself-assign-overloaded" | |
31 | #endif | |
32 | ||
7c673cae FG |
33 | #include "../test_interval_set_mixed.hpp" |
34 | ||
1e59de90 TL |
35 | #ifdef BOOST_CLANG |
36 | #pragma clang diagnostic pop | |
37 | #endif | |
38 | ||
7c673cae FG |
39 | BOOST_AUTO_TEST_CASE_TEMPLATE |
40 | (test_icl_interval_set_mixed_ctor_4_ordered_types, T, ordered_types) | |
41 | { interval_set_mixed_ctor_4_ordered_types<T>(); } | |
42 | ||
43 | BOOST_AUTO_TEST_CASE_TEMPLATE | |
44 | (test_icl_interval_set_mixed_equal_4_ordered_types, T, ordered_types) | |
45 | { interval_set_mixed_equal_4_ordered_types<T>(); } | |
46 | ||
47 | BOOST_AUTO_TEST_CASE_TEMPLATE | |
48 | (test_icl_interval_set_mixed_assign_4_ordered_types, T, ordered_types) | |
49 | { interval_set_mixed_assign_4_ordered_types<T>(); } | |
50 | ||
51 | BOOST_AUTO_TEST_CASE_TEMPLATE | |
52 | (test_icl_interval_set_mixed_ctor_4_bicremental_types, T, bicremental_types) | |
53 | { interval_set_mixed_ctor_4_bicremental_types<T>(); } | |
54 | ||
55 | BOOST_AUTO_TEST_CASE_TEMPLATE | |
56 | (test_icl_interval_set_mixed_assign_4_bicremental_types, T, bicremental_types) | |
57 | { interval_set_mixed_assign_4_bicremental_types<T>(); } | |
58 | ||
59 | BOOST_AUTO_TEST_CASE_TEMPLATE | |
60 | (test_icl_interval_set_mixed_equal_4_bicremental_types, T, bicremental_types) | |
61 | { interval_set_mixed_equal_4_bicremental_types<T>(); } | |
62 | ||
63 | BOOST_AUTO_TEST_CASE_TEMPLATE | |
64 | (test_icl_interval_set_mixed_contains_4_bicremental_types, T, bicremental_types) | |
65 | { interval_set_mixed_contains_4_bicremental_types<T>(); } | |
66 | ||
67 | BOOST_AUTO_TEST_CASE_TEMPLATE | |
68 | (test_icl_interval_set_mixed_add_4_bicremental_types, T, bicremental_types) | |
69 | { interval_set_mixed_add_4_bicremental_types<T>(); } | |
70 | ||
71 | BOOST_AUTO_TEST_CASE_TEMPLATE | |
72 | (test_icl_interval_set_mixed_subtract_4_bicremental_types, T, bicremental_types) | |
73 | { interval_set_mixed_subtract_4_bicremental_types<T>(); } | |
74 | ||
75 | BOOST_AUTO_TEST_CASE_TEMPLATE | |
76 | (test_icl_interval_set_mixed_erase_4_bicremental_types, T, bicremental_types) | |
77 | { interval_set_mixed_erase_4_bicremental_types<T>(); } | |
78 | ||
79 | BOOST_AUTO_TEST_CASE_TEMPLATE | |
80 | (test_icl_interval_set_mixed_basic_intersect_4_bicremental_types, T, bicremental_types) | |
81 | { interval_set_mixed_basic_intersect_4_bicremental_types<T>(); } | |
82 | ||
83 | BOOST_AUTO_TEST_CASE_TEMPLATE | |
84 | (test_icl_interval_set_mixed_disjoint_4_bicremental_types, T, bicremental_types) | |
85 | { interval_set_mixed_disjoint_4_bicremental_types<T>(); } | |
86 | ||
87 | BOOST_AUTO_TEST_CASE_TEMPLATE | |
88 | (test_icl_interval_set_mixed_infix_plus_overload_4_bicremental_types, T, bicremental_types) | |
89 | { interval_set_mixed_infix_plus_overload_4_bicremental_types<T>(); } | |
90 | ||
91 | BOOST_AUTO_TEST_CASE_TEMPLATE | |
92 | (test_icl_interval_set_mixed_infix_pipe_overload_4_bicremental_types, T, bicremental_types) | |
93 | { interval_set_mixed_infix_pipe_overload_4_bicremental_types<T>(); } | |
94 | ||
95 | BOOST_AUTO_TEST_CASE_TEMPLATE | |
96 | (test_icl_interval_set_mixed_infix_minus_overload_4_bicremental_types, T, bicremental_types) | |
97 | { interval_set_mixed_infix_minus_overload_4_bicremental_types<T>(); } | |
98 | ||
99 | BOOST_AUTO_TEST_CASE_TEMPLATE | |
100 | (test_icl_interval_set_mixed_infix_et_overload_4_bicremental_types, T, bicremental_types) | |
101 | { interval_set_mixed_infix_et_overload_4_bicremental_types<T>(); } | |
102 | ||
103 | BOOST_AUTO_TEST_CASE_TEMPLATE | |
104 | (test_icl_interval_set_mixed_infix_caret_overload_4_bicremental_types, T, bicremental_types) | |
105 | { interval_set_mixed_infix_caret_overload_4_bicremental_types<T>(); } |