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>
11 #include <boost/mpl/list.hpp>
12 #include "../unit_test_unwarned.hpp"
15 // interval instance types
16 #include "../test_type_lists.hpp"
17 #include "../test_value_maker.hpp"
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>
26 using namespace boost
;
27 using namespace unit_test
;
28 using namespace boost::icl
;
30 #include "../test_interval_map_mixed.hpp"
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>(); }
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>(); }
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>(); }
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>(); }
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>(); }
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>(); }
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
>(); }
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
>(); }