summaryrefslogtreecommitdiff
path: root/libs/icl/test/fastest_separate_interval_set_/fastest_separate_interval_set.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/icl/test/fastest_separate_interval_set_/fastest_separate_interval_set.cpp')
-rw-r--r--libs/icl/test/fastest_separate_interval_set_/fastest_separate_interval_set.cpp34
1 files changed, 34 insertions, 0 deletions
diff --git a/libs/icl/test/fastest_separate_interval_set_/fastest_separate_interval_set.cpp b/libs/icl/test/fastest_separate_interval_set_/fastest_separate_interval_set.cpp
new file mode 100644
index 0000000000..a53cafdafb
--- /dev/null
+++ b/libs/icl/test/fastest_separate_interval_set_/fastest_separate_interval_set.cpp
@@ -0,0 +1,34 @@
+/*-----------------------------------------------------------------------------+
+Copyright (c) 2008-2009: Joachim Faulhaber
++------------------------------------------------------------------------------+
+ Distributed under the Boost Software License, Version 1.0.
+ (See accompanying file LICENCE.txt or copy at
+ http://www.boost.org/LICENSE_1_0.txt)
++-----------------------------------------------------------------------------*/
+#define BOOST_TEST_MODULE icl::separate_interval_set unit test
+#include <libs/icl/test/disable_test_warnings.hpp>
+#include <string>
+#include <boost/mpl/list.hpp>
+#include "../unit_test_unwarned.hpp"
+
+
+// interval instance types
+#include "../test_type_lists.hpp"
+#include "../test_value_maker.hpp"
+
+#include <boost/icl/separate_interval_set.hpp>
+
+using namespace std;
+using namespace boost;
+using namespace unit_test;
+using namespace boost::icl;
+
+// -----------------------------------------------------------------------------
+// test_interval_set_shared are tests that should give identical results for all
+// interval_sets: interval_set, separate_interval_set and split_interval_set.
+#include "../test_interval_set_shared.hpp"
+
+#define INTERVAL_SET separate_interval_set
+#include "../fastest_interval_set_cases.hpp"
+
+