1/*-----------------------------------------------------------------------------+
2Copyright (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
25using namespace std;
26using namespace boost;
27using namespace unit_test;
28using namespace boost::icl;
29
30#include "../test_interval_map_mixed.hpp"
31
32BOOST_AUTO_TEST_CASE_TEMPLATE
33(test_icl_interval_map_mixed_add_4_bicremental_types, T, bicremental_types)
34{ interval_map_mixed_add_4_bicremental_types<T, int>(); }
35
36BOOST_AUTO_TEST_CASE_TEMPLATE
37(test_icl_interval_map_mixed_add2_4_bicremental_types, T, bicremental_types)
38{ interval_map_mixed_add2_4_bicremental_types<T, int>(); }
39
40BOOST_AUTO_TEST_CASE_TEMPLATE
41(test_icl_interval_map_mixed_subtract_4_bicremental_types, T, bicremental_types)
42{ interval_map_mixed_subtract_4_bicremental_types<T, int>(); }
43
44BOOST_AUTO_TEST_CASE_TEMPLATE
45(test_icl_interval_map_mixed_erase_4_bicremental_types, T, bicremental_types)
46{ interval_map_mixed_erase_4_bicremental_types<T, int>(); }
47
48BOOST_AUTO_TEST_CASE_TEMPLATE
49(test_icl_interval_map_mixed_erase2_4_bicremental_types, T, bicremental_types)
50{ interval_map_mixed_erase2_4_bicremental_types<T, int>(); }
51
52BOOST_AUTO_TEST_CASE_TEMPLATE
53(test_icl_interval_map_mixed_insert_erase_4_bicremental_types, T, bicremental_types)
54{ interval_map_mixed_insert_erase_4_bicremental_types<T, int>(); }
55
56BOOST_AUTO_TEST_CASE_TEMPLATE
57(test_icl_interval_map_mixed_insert_erase2_4_bicremental_types, T, bicremental_types)
58{ interval_map_mixed_insert_erase2_4_bicremental_types<T, int>(); }
59
60BOOST_AUTO_TEST_CASE_TEMPLATE
61(test_icl_interval_map_mixed_basic_intersect_4_bicremental_types, T, bicremental_types)
62{ interval_map_mixed_basic_intersect_4_bicremental_types<T, int>(); }
63
64BOOST_AUTO_TEST_CASE_TEMPLATE
65(test_icl_interval_map_mixed_basic_intersect2_4_bicremental_types, T, bicremental_types)
66{ interval_map_mixed_basic_intersect2_4_bicremental_types<T, int>(); }
67
68BOOST_AUTO_TEST_CASE_TEMPLATE
69(test_icl_interval_map_mixed_intersect_4_bicremental_types, T, bicremental_types)
70{ interval_map_mixed_intersect_4_bicremental_types<T, int>(); }
71
72BOOST_AUTO_TEST_CASE_TEMPLATE
73(test_icl_interval_map_mixed_intersect2_4_bicremental_types, T, bicremental_types)
74{ interval_map_mixed_intersect2_4_bicremental_types<T, int>(); }
75
76BOOST_AUTO_TEST_CASE_TEMPLATE
77(test_icl_interval_map_mixed_disjoint_4_bicremental_types, T, bicremental_types)
78{ interval_map_mixed_disjoint_4_bicremental_types<T, int>(); }
79
80BOOST_AUTO_TEST_CASE_TEMPLATE
81(test_icl_interval_map_mixed_erase_if_4_integral_types, T, integral_types)
82{ interval_map_mixed_erase_if_4_integral_types<T, int>(); }
83
84

source code of boost/libs/icl/test/test_interval_map_mixed2_/test_interval_map_mixed2.cpp