test_interval_set_mixed.cpp 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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_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. // interval instance types
  14. #include "../test_type_lists.hpp"
  15. #include "../test_value_maker.hpp"
  16. #include <boost/icl/interval_set.hpp>
  17. #include <boost/icl/separate_interval_set.hpp>
  18. #include <boost/icl/split_interval_set.hpp>
  19. using namespace std;
  20. using namespace boost;
  21. using namespace unit_test;
  22. using namespace boost::icl;
  23. #include "../test_interval_set_mixed.hpp"
  24. BOOST_AUTO_TEST_CASE_TEMPLATE
  25. (test_icl_interval_set_mixed_ctor_4_ordered_types, T, ordered_types)
  26. { interval_set_mixed_ctor_4_ordered_types<T>(); }
  27. BOOST_AUTO_TEST_CASE_TEMPLATE
  28. (test_icl_interval_set_mixed_equal_4_ordered_types, T, ordered_types)
  29. { interval_set_mixed_equal_4_ordered_types<T>(); }
  30. BOOST_AUTO_TEST_CASE_TEMPLATE
  31. (test_icl_interval_set_mixed_assign_4_ordered_types, T, ordered_types)
  32. { interval_set_mixed_assign_4_ordered_types<T>(); }
  33. BOOST_AUTO_TEST_CASE_TEMPLATE
  34. (test_icl_interval_set_mixed_ctor_4_bicremental_types, T, bicremental_types)
  35. { interval_set_mixed_ctor_4_bicremental_types<T>(); }
  36. BOOST_AUTO_TEST_CASE_TEMPLATE
  37. (test_icl_interval_set_mixed_assign_4_bicremental_types, T, bicremental_types)
  38. { interval_set_mixed_assign_4_bicremental_types<T>(); }
  39. BOOST_AUTO_TEST_CASE_TEMPLATE
  40. (test_icl_interval_set_mixed_equal_4_bicremental_types, T, bicremental_types)
  41. { interval_set_mixed_equal_4_bicremental_types<T>(); }
  42. BOOST_AUTO_TEST_CASE_TEMPLATE
  43. (test_icl_interval_set_mixed_contains_4_bicremental_types, T, bicremental_types)
  44. { interval_set_mixed_contains_4_bicremental_types<T>(); }
  45. BOOST_AUTO_TEST_CASE_TEMPLATE
  46. (test_icl_interval_set_mixed_add_4_bicremental_types, T, bicremental_types)
  47. { interval_set_mixed_add_4_bicremental_types<T>(); }
  48. BOOST_AUTO_TEST_CASE_TEMPLATE
  49. (test_icl_interval_set_mixed_subtract_4_bicremental_types, T, bicremental_types)
  50. { interval_set_mixed_subtract_4_bicremental_types<T>(); }
  51. BOOST_AUTO_TEST_CASE_TEMPLATE
  52. (test_icl_interval_set_mixed_erase_4_bicremental_types, T, bicremental_types)
  53. { interval_set_mixed_erase_4_bicremental_types<T>(); }
  54. BOOST_AUTO_TEST_CASE_TEMPLATE
  55. (test_icl_interval_set_mixed_basic_intersect_4_bicremental_types, T, bicremental_types)
  56. { interval_set_mixed_basic_intersect_4_bicremental_types<T>(); }
  57. BOOST_AUTO_TEST_CASE_TEMPLATE
  58. (test_icl_interval_set_mixed_disjoint_4_bicremental_types, T, bicremental_types)
  59. { interval_set_mixed_disjoint_4_bicremental_types<T>(); }
  60. BOOST_AUTO_TEST_CASE_TEMPLATE
  61. (test_icl_interval_set_mixed_infix_plus_overload_4_bicremental_types, T, bicremental_types)
  62. { interval_set_mixed_infix_plus_overload_4_bicremental_types<T>(); }
  63. BOOST_AUTO_TEST_CASE_TEMPLATE
  64. (test_icl_interval_set_mixed_infix_pipe_overload_4_bicremental_types, T, bicremental_types)
  65. { interval_set_mixed_infix_pipe_overload_4_bicremental_types<T>(); }
  66. BOOST_AUTO_TEST_CASE_TEMPLATE
  67. (test_icl_interval_set_mixed_infix_minus_overload_4_bicremental_types, T, bicremental_types)
  68. { interval_set_mixed_infix_minus_overload_4_bicremental_types<T>(); }
  69. BOOST_AUTO_TEST_CASE_TEMPLATE
  70. (test_icl_interval_set_mixed_infix_et_overload_4_bicremental_types, T, bicremental_types)
  71. { interval_set_mixed_infix_et_overload_4_bicremental_types<T>(); }
  72. BOOST_AUTO_TEST_CASE_TEMPLATE
  73. (test_icl_interval_set_mixed_infix_caret_overload_4_bicremental_types, T, bicremental_types)
  74. { interval_set_mixed_infix_caret_overload_4_bicremental_types<T>(); }