fastest_interval_map_infix.cpp 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  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_infix 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. // interval instance types
  14. #include "../test_type_lists.hpp"
  15. #include "../test_value_maker.hpp"
  16. #include <boost/icl/separate_interval_set.hpp>
  17. #include <boost/icl/split_interval_set.hpp>
  18. #include <boost/icl/interval_map.hpp>
  19. using namespace std;
  20. using namespace boost;
  21. using namespace unit_test;
  22. using namespace boost::icl;
  23. // -----------------------------------------------------------------------------
  24. // test_interval_map_shared are tests that should give identical results for all
  25. // interval_maps: interval_map and split_interval_map.
  26. #include "../test_interval_map_shared.hpp"
  27. #define INTERVAL_MAP interval_map
  28. #include "../test_interval_map_infix_cases.hpp"