]>
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 | // interval instance types | |
15 | #include "../test_type_lists.hpp" | |
16 | #include "../test_value_maker.hpp" | |
17 | ||
18 | #include <boost/icl/interval_set.hpp> | |
19 | #include <boost/icl/separate_interval_set.hpp> | |
20 | #include <boost/icl/split_interval_set.hpp> | |
21 | ||
22 | using namespace std; | |
23 | using namespace boost; | |
24 | using namespace unit_test; | |
25 | using namespace boost::icl; | |
26 | ||
1e59de90 TL |
27 | #ifdef BOOST_CLANG |
28 | #pragma clang diagnostic push | |
29 | #pragma clang diagnostic ignored "-Wself-assign-overloaded" | |
30 | #endif | |
31 | ||
7c673cae FG |
32 | #include "../test_interval_set_mixed.hpp" |
33 | ||
1e59de90 TL |
34 | #ifdef BOOST_CLANG |
35 | #pragma clang diagnostic pop | |
36 | #endif | |
37 | ||
7c673cae FG |
38 | BOOST_AUTO_TEST_CASE |
39 | (fastest_icl_interval_set_mixed_ctor_4_ordered_types) | |
40 | { interval_set_mixed_ctor_4_ordered_types<int>(); } | |
41 | ||
42 | ||
43 | BOOST_AUTO_TEST_CASE | |
44 | (fastest_icl_interval_set_mixed_equal_4_ordered_types) | |
45 | { interval_set_mixed_equal_4_ordered_types<std::string>(); } | |
46 | ||
47 | BOOST_AUTO_TEST_CASE | |
48 | (fastest_icl_interval_set_mixed_assign_4_ordered_types) | |
49 | { interval_set_mixed_assign_4_ordered_types<float>(); } | |
50 | ||
51 | BOOST_AUTO_TEST_CASE | |
52 | (fastest_icl_interval_set_mixed_ctor_4_bicremental_types) | |
53 | { interval_set_mixed_ctor_4_bicremental_types<bicremental_type_1>(); } | |
54 | ||
55 | BOOST_AUTO_TEST_CASE | |
56 | (fastest_icl_interval_set_mixed_assign_4_bicremental_types) | |
57 | { interval_set_mixed_assign_4_bicremental_types<bicremental_type_2>(); } | |
58 | ||
59 | BOOST_AUTO_TEST_CASE | |
60 | (fastest_icl_interval_set_mixed_equal_4_bicremental_types) | |
61 | { interval_set_mixed_equal_4_bicremental_types<bicremental_type_3>(); } | |
62 | ||
63 | BOOST_AUTO_TEST_CASE | |
64 | (fastest_icl_interval_set_mixed_contains_4_bicremental_types) | |
65 | { interval_set_mixed_contains_4_bicremental_types<bicremental_type_4>(); } | |
66 | ||
67 | BOOST_AUTO_TEST_CASE | |
68 | (fastest_icl_interval_set_mixed_add_4_bicremental_types) | |
69 | { interval_set_mixed_add_4_bicremental_types<bicremental_type_5>(); } | |
70 | ||
71 | BOOST_AUTO_TEST_CASE | |
72 | (fastest_icl_interval_set_mixed_subtract_4_bicremental_types) | |
73 | { interval_set_mixed_subtract_4_bicremental_types<bicremental_type_6>(); } | |
74 | ||
75 | BOOST_AUTO_TEST_CASE | |
76 | (fastest_icl_interval_set_mixed_erase_4_bicremental_types) | |
77 | { interval_set_mixed_erase_4_bicremental_types<bicremental_type_7>(); } | |
78 | ||
79 | BOOST_AUTO_TEST_CASE | |
80 | (fastest_icl_interval_set_mixed_basic_intersect_4_bicremental_types) | |
81 | { interval_set_mixed_basic_intersect_4_bicremental_types<bicremental_type_8>(); } | |
82 | ||
83 | BOOST_AUTO_TEST_CASE | |
84 | (fastest_icl_interval_set_mixed_disjoint_4_bicremental_types) | |
85 | { interval_set_mixed_disjoint_4_bicremental_types<bicremental_type_1>(); } | |
86 | ||
87 | BOOST_AUTO_TEST_CASE | |
88 | (fastest_icl_interval_set_mixed_infix_plus_overload_4_bicremental_types) | |
89 | { interval_set_mixed_infix_plus_overload_4_bicremental_types<bicremental_type_2>(); } | |
90 | ||
91 | BOOST_AUTO_TEST_CASE | |
92 | (fastest_icl_interval_set_mixed_infix_pipe_overload_4_bicremental_types) | |
93 | { interval_set_mixed_infix_pipe_overload_4_bicremental_types<bicremental_type_3>(); } | |
94 | ||
95 | BOOST_AUTO_TEST_CASE | |
96 | (fastest_icl_interval_set_mixed_infix_minus_overload_4_bicremental_types) | |
97 | { interval_set_mixed_infix_minus_overload_4_bicremental_types<bicremental_type_4>(); } | |
98 | ||
99 | BOOST_AUTO_TEST_CASE | |
100 | (fastest_icl_interval_set_mixed_infix_et_overload_4_bicremental_types) | |
101 | { interval_set_mixed_infix_et_overload_4_bicremental_types<bicremental_type_5>(); } | |
102 | ||
103 | BOOST_AUTO_TEST_CASE | |
104 | (fastest_icl_interval_set_mixed_infix_caret_overload_4_bicremental_types) | |
105 | { interval_set_mixed_infix_caret_overload_4_bicremental_types<bicremental_type_6>(); } |