fastest_partial_interval_quantifier.cpp 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  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::partial_interval_quantifier 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/interval_map.hpp>
  17. #include <boost/icl/split_interval_map.hpp>
  18. #include <boost/icl/detail/interval_morphism.hpp>
  19. #include "../test_laws.hpp"
  20. using namespace std;
  21. using namespace boost;
  22. using namespace unit_test;
  23. using namespace boost::icl;
  24. // -----------------------------------------------------------------------------
  25. // test_interval_set_shared are tests that should give identical results for all
  26. // interval_sets: interval_set, separate_interval_set and split_interval_set.
  27. #include "../test_interval_quantifier_shared.hpp"
  28. #define INTERVAL_MAP interval_map
  29. #include "../fastest_partial_interval_quantifier_cases.hpp"