test_interval_set.cpp 1.2 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_set unit test
  9. #include <libs/icl/test/disable_test_warnings.hpp>
  10. #include <string>
  11. #include <vector>
  12. #include <boost/mpl/list.hpp>
  13. #include "../unit_test_unwarned.hpp"
  14. // interval instance types
  15. #include "../test_type_lists.hpp"
  16. #include "../test_value_maker.hpp"
  17. #include <boost/icl/interval_set.hpp>
  18. using namespace std;
  19. using namespace boost;
  20. using namespace unit_test;
  21. using namespace boost::icl;
  22. // -----------------------------------------------------------------------------
  23. // test_interval_set_shared are tests that should give identical results for all
  24. // interval_sets: interval_set, separate_interval_set and split_interval_set.
  25. #include "../test_interval_set_shared.hpp"
  26. #define INTERVAL_SET interval_set
  27. #include "../test_interval_set_cases.hpp"