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 #include "../test_interval_map_mixed.hpp"
31 
BOOST_AUTO_TEST_CASE_TEMPLATE(fastest_icl_interval_map_mixed_ctor_4_ordered_types,T,ordered_types)32 BOOST_AUTO_TEST_CASE_TEMPLATE
33 (fastest_icl_interval_map_mixed_ctor_4_ordered_types, T, ordered_types)
34 {            interval_map_mixed_ctor_4_ordered_types<T, int>(); }
35 
BOOST_AUTO_TEST_CASE_TEMPLATE(fastest_icl_interval_map_mixed_equal_4_ordered_types,T,ordered_types)36 BOOST_AUTO_TEST_CASE_TEMPLATE
37 (fastest_icl_interval_map_mixed_equal_4_ordered_types, T, ordered_types)
38 {            interval_map_mixed_equal_4_ordered_types<T, int>(); }
39 
BOOST_AUTO_TEST_CASE_TEMPLATE(fastest_icl_interval_map_mixed_assign_4_ordered_types,T,ordered_types)40 BOOST_AUTO_TEST_CASE_TEMPLATE
41 (fastest_icl_interval_map_mixed_assign_4_ordered_types, T, ordered_types)
42 {            interval_map_mixed_assign_4_ordered_types<T, int>(); }
43 
BOOST_AUTO_TEST_CASE_TEMPLATE(fastest_icl_interval_map_mixed_ctor_4_bicremental_types,T,bicremental_types)44 BOOST_AUTO_TEST_CASE_TEMPLATE
45 (fastest_icl_interval_map_mixed_ctor_4_bicremental_types, T, bicremental_types)
46 {            interval_map_mixed_ctor_4_bicremental_types<T, int>(); }
47 
BOOST_AUTO_TEST_CASE_TEMPLATE(fastest_icl_interval_map_mixed_assign_4_bicremental_types,T,bicremental_types)48 BOOST_AUTO_TEST_CASE_TEMPLATE
49 (fastest_icl_interval_map_mixed_assign_4_bicremental_types, T, bicremental_types)
50 {            interval_map_mixed_assign_4_bicremental_types<T, int>(); }
51 
BOOST_AUTO_TEST_CASE_TEMPLATE(fastest_icl_interval_map_mixed_equal_4_bicremental_types,T,bicremental_types)52 BOOST_AUTO_TEST_CASE_TEMPLATE
53 (fastest_icl_interval_map_mixed_equal_4_bicremental_types, T, bicremental_types)
54 {            interval_map_mixed_equal_4_bicremental_types<T, int>(); }
55 
BOOST_AUTO_TEST_CASE_TEMPLATE(fastest_itl_partial_interval_map_mixed_inclusion_compare_4_bicremental_types,T,bicremental_types)56 BOOST_AUTO_TEST_CASE_TEMPLATE
57 (fastest_itl_partial_interval_map_mixed_inclusion_compare_4_bicremental_types, T, bicremental_types)
58 {            partial_interval_map_mixed_inclusion_compare_4_bicremental_types<T, int, partial_absorber>(); }
59 
BOOST_AUTO_TEST_CASE_TEMPLATE(fastest_itl_partial_interval_map_mixed_contains_4_bicremental_types,T,bicremental_types)60 BOOST_AUTO_TEST_CASE_TEMPLATE
61 (fastest_itl_partial_interval_map_mixed_contains_4_bicremental_types, T, bicremental_types)
62 {            partial_interval_map_mixed_contains_4_bicremental_types<T, int, partial_absorber>(); }
63 
64