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::icl_map 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 <set> 20 #include <boost/icl/associative_element_container.hpp> 21 #include <boost/icl/map.hpp> 22 #include <boost/icl/interval_map.hpp> 23 #include <boost/icl/detail/interval_morphism.hpp> 24 #include "../test_laws.hpp" 25 26 using namespace std; 27 using namespace boost; 28 using namespace unit_test; 29 using namespace boost::icl; 30 31 // ----------------------------------------------------------------------------- 32 // test_interval_set_shared are tests that should give identical results for all 33 // interval_sets: interval_set, separate_interval_set and split_interval_set. 34 #include "../test_icl_map.hpp" 35 36 #define INTERVAL_MAP interval_map 37 #include "fastest_icl_map_cases.hpp" 38 39 40