1 | /*-----------------------------------------------------------------------------+ |
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_map_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 | #include <boost/icl/interval_map.hpp> |
23 | #include <boost/icl/split_interval_map.hpp> |
24 | |
25 | using namespace std; |
26 | using namespace boost; |
27 | using namespace unit_test; |
28 | using namespace boost::icl; |
29 | |
30 | #ifdef BOOST_CLANG |
31 | #pragma clang diagnostic push |
32 | #pragma clang diagnostic ignored "-Wself-assign-overloaded" |
33 | #endif |
34 | |
35 | #include "../test_interval_map_mixed.hpp" |
36 | |
37 | #ifdef BOOST_CLANG |
38 | #pragma clang diagnostic pop |
39 | #endif |
40 | |
41 | BOOST_AUTO_TEST_CASE_TEMPLATE |
42 | (fastest_icl_interval_map_mixed_ctor_4_ordered_types, T, ordered_types) |
43 | { interval_map_mixed_ctor_4_ordered_types<T, int>(); } |
44 | |
45 | BOOST_AUTO_TEST_CASE_TEMPLATE |
46 | (fastest_icl_interval_map_mixed_equal_4_ordered_types, T, ordered_types) |
47 | { interval_map_mixed_equal_4_ordered_types<T, int>(); } |
48 | |
49 | BOOST_AUTO_TEST_CASE_TEMPLATE |
50 | (fastest_icl_interval_map_mixed_assign_4_ordered_types, T, ordered_types) |
51 | { interval_map_mixed_assign_4_ordered_types<T, int>(); } |
52 | |
53 | BOOST_AUTO_TEST_CASE_TEMPLATE |
54 | (fastest_icl_interval_map_mixed_ctor_4_bicremental_types, T, bicremental_types) |
55 | { interval_map_mixed_ctor_4_bicremental_types<T, int>(); } |
56 | |
57 | BOOST_AUTO_TEST_CASE_TEMPLATE |
58 | (fastest_icl_interval_map_mixed_assign_4_bicremental_types, T, bicremental_types) |
59 | { interval_map_mixed_assign_4_bicremental_types<T, int>(); } |
60 | |
61 | BOOST_AUTO_TEST_CASE_TEMPLATE |
62 | (fastest_icl_interval_map_mixed_equal_4_bicremental_types, T, bicremental_types) |
63 | { interval_map_mixed_equal_4_bicremental_types<T, int>(); } |
64 | |
65 | BOOST_AUTO_TEST_CASE_TEMPLATE |
66 | (fastest_itl_partial_interval_map_mixed_inclusion_compare_4_bicremental_types, T, bicremental_types) |
67 | { partial_interval_map_mixed_inclusion_compare_4_bicremental_types<T, int, partial_absorber>(); } |
68 | |
69 | BOOST_AUTO_TEST_CASE_TEMPLATE |
70 | (fastest_itl_partial_interval_map_mixed_contains_4_bicremental_types, T, bicremental_types) |
71 | { partial_interval_map_mixed_contains_4_bicremental_types<T, int, partial_absorber>(); } |
72 | |