Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81777 - sandbox-branches/geometry/index_dev/test/rtree
From: adam.wulkiewicz_at_[hidden]
Date: 2012-12-07 17:46:05


Author: awulkiew
Date: 2012-12-07 17:46:03 EST (Fri, 07 Dec 2012)
New Revision: 81777
URL: http://svn.boost.org/trac/boost/changeset/81777

Log:
each rtree linear algorithm test case divided into two files.
Added:
   sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_d_rt.cpp (contents, props changed)
   sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_f_rt.cpp (contents, props changed)
   sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_i_rt.cpp (contents, props changed)
   sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_tt_rt.cpp (contents, props changed)
   sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_d_rt.cpp (contents, props changed)
   sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_f_rt.cpp (contents, props changed)
   sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_i_rt.cpp (contents, props changed)
   sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_tt_rt.cpp (contents, props changed)
Text files modified:
   sandbox-branches/geometry/index_dev/test/rtree/Jamfile.v2 | 8 ++++++++
   sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_d.cpp | 1 -
   sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_f.cpp | 1 -
   sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_i.cpp | 1 -
   sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_tt.cpp | 1 -
   sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_d.cpp | 1 -
   sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_f.cpp | 1 -
   sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_i.cpp | 1 -
   sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_tt.cpp | 1 -
   9 files changed, 8 insertions(+), 8 deletions(-)

Modified: sandbox-branches/geometry/index_dev/test/rtree/Jamfile.v2
==============================================================================
--- sandbox-branches/geometry/index_dev/test/rtree/Jamfile.v2 (original)
+++ sandbox-branches/geometry/index_dev/test/rtree/Jamfile.v2 2012-12-07 17:46:03 EST (Fri, 07 Dec 2012)
@@ -12,6 +12,10 @@
     [ run rtree2d_linear_f.cpp ]
     [ run rtree2d_linear_d.cpp ]
     [ run rtree2d_linear_tt.cpp ]
+ [ run rtree2d_linear_i_rt.cpp ]
+ [ run rtree2d_linear_f_rt.cpp ]
+ [ run rtree2d_linear_d_rt.cpp ]
+ [ run rtree2d_linear_tt_rt.cpp ]
 
     [ run rtree2d_quadratic_i.cpp ]
     [ run rtree2d_quadratic_f.cpp ]
@@ -35,6 +39,10 @@
     [ run rtree3d_linear_f.cpp ]
     [ run rtree3d_linear_d.cpp ]
     [ run rtree3d_linear_tt.cpp ]
+ [ run rtree3d_linear_i_rt.cpp ]
+ [ run rtree3d_linear_f_rt.cpp ]
+ [ run rtree3d_linear_d_rt.cpp ]
+ [ run rtree3d_linear_tt_rt.cpp ]
 
     [ run rtree3d_quadratic_i.cpp ]
     [ run rtree3d_quadratic_f.cpp ]

Modified: sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_d.cpp
==============================================================================
--- sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_d.cpp (original)
+++ sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_d.cpp 2012-12-07 17:46:03 EST (Fri, 07 Dec 2012)
@@ -18,7 +18,6 @@
     typedef bg::model::point<double, 2, bg::cs::cartesian> P2dc;
 
     test_rtree<P2dc, bgi::linear<4, 2> >();
- test_rtree<P2dc>(bgi::runtime::linear(4, 2));
     
     return 0;
 }

Added: sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_d_rt.cpp
==============================================================================
--- (empty file)
+++ sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_d_rt.cpp 2012-12-07 17:46:03 EST (Fri, 07 Dec 2012)
@@ -0,0 +1,23 @@
+// Boost.Geometry Index
+// Unit Test
+
+// Copyright (c) 2011-2012 Adam Wulkiewicz, Lodz, Poland.
+
+// Use, modification and distribution is subject to the Boost Software License,
+// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#include <rtree/test_rtree.hpp>
+
+#include <boost/geometry/geometries/point_xy.hpp>
+#include <boost/geometry/geometries/point.hpp>
+#include <boost/geometry/geometries/box.hpp>
+
+int test_main(int, char* [])
+{
+ typedef bg::model::point<double, 2, bg::cs::cartesian> P2dc;
+
+ test_rtree<P2dc>(bgi::runtime::linear(4, 2));
+
+ return 0;
+}

Modified: sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_f.cpp
==============================================================================
--- sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_f.cpp (original)
+++ sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_f.cpp 2012-12-07 17:46:03 EST (Fri, 07 Dec 2012)
@@ -18,7 +18,6 @@
     typedef bg::model::point<float, 2, bg::cs::cartesian> P2fc;
 
     test_rtree<P2fc, bgi::linear<4, 2> >();
- test_rtree<P2fc>(bgi::runtime::linear(4, 2));
 
     return 0;
 }

Added: sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_f_rt.cpp
==============================================================================
--- (empty file)
+++ sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_f_rt.cpp 2012-12-07 17:46:03 EST (Fri, 07 Dec 2012)
@@ -0,0 +1,23 @@
+// Boost.Geometry Index
+// Unit Test
+
+// Copyright (c) 2011-2012 Adam Wulkiewicz, Lodz, Poland.
+
+// Use, modification and distribution is subject to the Boost Software License,
+// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#include <rtree/test_rtree.hpp>
+
+#include <boost/geometry/geometries/point_xy.hpp>
+#include <boost/geometry/geometries/point.hpp>
+#include <boost/geometry/geometries/box.hpp>
+
+int test_main(int, char* [])
+{
+ typedef bg::model::point<float, 2, bg::cs::cartesian> P2fc;
+
+ test_rtree<P2fc>(bgi::runtime::linear(4, 2));
+
+ return 0;
+}

Modified: sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_i.cpp
==============================================================================
--- sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_i.cpp (original)
+++ sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_i.cpp 2012-12-07 17:46:03 EST (Fri, 07 Dec 2012)
@@ -18,7 +18,6 @@
     typedef bg::model::point<int, 2, bg::cs::cartesian> P2ic;
 
     test_rtree<P2ic, bgi::linear<4, 2> >();
- test_rtree<P2ic>(bgi::runtime::linear(4, 2));
 
     return 0;
 }

Added: sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_i_rt.cpp
==============================================================================
--- (empty file)
+++ sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_i_rt.cpp 2012-12-07 17:46:03 EST (Fri, 07 Dec 2012)
@@ -0,0 +1,23 @@
+// Boost.Geometry Index
+// Unit Test
+
+// Copyright (c) 2011-2012 Adam Wulkiewicz, Lodz, Poland.
+
+// Use, modification and distribution is subject to the Boost Software License,
+// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#include <rtree/test_rtree.hpp>
+
+#include <boost/geometry/geometries/point_xy.hpp>
+#include <boost/geometry/geometries/point.hpp>
+#include <boost/geometry/geometries/box.hpp>
+
+int test_main(int, char* [])
+{
+ typedef bg::model::point<int, 2, bg::cs::cartesian> P2ic;
+
+ test_rtree<P2ic>(bgi::runtime::linear(4, 2));
+
+ return 0;
+}

Modified: sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_tt.cpp
==============================================================================
--- sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_tt.cpp (original)
+++ sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_tt.cpp 2012-12-07 17:46:03 EST (Fri, 07 Dec 2012)
@@ -20,7 +20,6 @@
     typedef bg::model::point<ttmath_big, 2, bg::cs::cartesian> P2ttmc;
 
     test_rtree<P2ttmc, bgi::linear<4, 2> >();
- test_rtree<P2ttmc>(bgi::runtime::linear(4, 2));
 
 #endif
 

Added: sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_tt_rt.cpp
==============================================================================
--- (empty file)
+++ sandbox-branches/geometry/index_dev/test/rtree/rtree2d_linear_tt_rt.cpp 2012-12-07 17:46:03 EST (Fri, 07 Dec 2012)
@@ -0,0 +1,27 @@
+// Boost.Geometry Index
+// Unit Test
+
+// Copyright (c) 2011-2012 Adam Wulkiewicz, Lodz, Poland.
+
+// Use, modification and distribution is subject to the Boost Software License,
+// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#include <rtree/test_rtree.hpp>
+
+#include <boost/geometry/geometries/point_xy.hpp>
+#include <boost/geometry/geometries/point.hpp>
+#include <boost/geometry/geometries/box.hpp>
+
+int test_main(int, char* [])
+{
+
+#ifdef HAVE_TTMATH
+ typedef bg::model::point<ttmath_big, 2, bg::cs::cartesian> P2ttmc;
+
+ test_rtree<P2ttmc>(bgi::runtime::linear(4, 2));
+
+#endif
+
+ return 0;
+}

Modified: sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_d.cpp
==============================================================================
--- sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_d.cpp (original)
+++ sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_d.cpp 2012-12-07 17:46:03 EST (Fri, 07 Dec 2012)
@@ -18,7 +18,6 @@
     typedef bg::model::point<double, 3, bg::cs::cartesian> P3dc;
 
     test_rtree<P3dc, bgi::linear<4, 2> >();
- test_rtree<P3dc>(bgi::runtime::linear(4, 2));
     
     return 0;
 }

Added: sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_d_rt.cpp
==============================================================================
--- (empty file)
+++ sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_d_rt.cpp 2012-12-07 17:46:03 EST (Fri, 07 Dec 2012)
@@ -0,0 +1,23 @@
+// Boost.Geometry Index
+// Unit Test
+
+// Copyright (c) 2011-2012 Adam Wulkiewicz, Lodz, Poland.
+
+// Use, modification and distribution is subject to the Boost Software License,
+// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#include <rtree/test_rtree.hpp>
+
+#include <boost/geometry/geometries/point_xy.hpp>
+#include <boost/geometry/geometries/point.hpp>
+#include <boost/geometry/geometries/box.hpp>
+
+int test_main(int, char* [])
+{
+ typedef bg::model::point<double, 3, bg::cs::cartesian> P3dc;
+
+ test_rtree<P3dc>(bgi::runtime::linear(4, 2));
+
+ return 0;
+}

Modified: sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_f.cpp
==============================================================================
--- sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_f.cpp (original)
+++ sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_f.cpp 2012-12-07 17:46:03 EST (Fri, 07 Dec 2012)
@@ -18,7 +18,6 @@
     typedef bg::model::point<float, 3, bg::cs::cartesian> P3fc;
     
     test_rtree<P3fc, bgi::linear<4, 2> >();
- test_rtree<P3fc>(bgi::runtime::linear(4, 2));
     
     return 0;
 }

Added: sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_f_rt.cpp
==============================================================================
--- (empty file)
+++ sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_f_rt.cpp 2012-12-07 17:46:03 EST (Fri, 07 Dec 2012)
@@ -0,0 +1,23 @@
+// Boost.Geometry Index
+// Unit Test
+
+// Copyright (c) 2011-2012 Adam Wulkiewicz, Lodz, Poland.
+
+// Use, modification and distribution is subject to the Boost Software License,
+// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#include <rtree/test_rtree.hpp>
+
+#include <boost/geometry/geometries/point_xy.hpp>
+#include <boost/geometry/geometries/point.hpp>
+#include <boost/geometry/geometries/box.hpp>
+
+int test_main(int, char* [])
+{
+ typedef bg::model::point<float, 3, bg::cs::cartesian> P3fc;
+
+ test_rtree<P3fc>(bgi::runtime::linear(4, 2));
+
+ return 0;
+}

Modified: sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_i.cpp
==============================================================================
--- sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_i.cpp (original)
+++ sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_i.cpp 2012-12-07 17:46:03 EST (Fri, 07 Dec 2012)
@@ -18,7 +18,6 @@
     typedef bg::model::point<int, 3, bg::cs::cartesian> P3ic;
     
     test_rtree<P3ic, bgi::linear<4, 2> >();
- test_rtree<P3ic>(bgi::runtime::linear(4, 2));
 
     return 0;
 }

Added: sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_i_rt.cpp
==============================================================================
--- (empty file)
+++ sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_i_rt.cpp 2012-12-07 17:46:03 EST (Fri, 07 Dec 2012)
@@ -0,0 +1,23 @@
+// Boost.Geometry Index
+// Unit Test
+
+// Copyright (c) 2011-2012 Adam Wulkiewicz, Lodz, Poland.
+
+// Use, modification and distribution is subject to the Boost Software License,
+// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#include <rtree/test_rtree.hpp>
+
+#include <boost/geometry/geometries/point_xy.hpp>
+#include <boost/geometry/geometries/point.hpp>
+#include <boost/geometry/geometries/box.hpp>
+
+int test_main(int, char* [])
+{
+ typedef bg::model::point<int, 3, bg::cs::cartesian> P3ic;
+
+ test_rtree<P3ic>(bgi::runtime::linear(4, 2));
+
+ return 0;
+}

Modified: sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_tt.cpp
==============================================================================
--- sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_tt.cpp (original)
+++ sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_tt.cpp 2012-12-07 17:46:03 EST (Fri, 07 Dec 2012)
@@ -20,7 +20,6 @@
     typedef bg::model::point<ttmath_big, 3, bg::cs::cartesian> P3ttmc;
 
     test_rtree<P3ttmc, bgi::linear<4, 2> >();
- test_rtree<P3ttmc>(bgi::runtime::linear(4, 2));
 #endif
 
     return 0;

Added: sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_tt_rt.cpp
==============================================================================
--- (empty file)
+++ sandbox-branches/geometry/index_dev/test/rtree/rtree3d_linear_tt_rt.cpp 2012-12-07 17:46:03 EST (Fri, 07 Dec 2012)
@@ -0,0 +1,26 @@
+// Boost.Geometry Index
+// Unit Test
+
+// Copyright (c) 2011-2012 Adam Wulkiewicz, Lodz, Poland.
+
+// Use, modification and distribution is subject to the Boost Software License,
+// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#include <rtree/test_rtree.hpp>
+
+#include <boost/geometry/geometries/point_xy.hpp>
+#include <boost/geometry/geometries/point.hpp>
+#include <boost/geometry/geometries/box.hpp>
+
+int test_main(int, char* [])
+{
+
+#ifdef HAVE_TTMATH
+ typedef bg::model::point<ttmath_big, 3, bg::cs::cartesian> P3ttmc;
+
+ test_rtree<P3ttmc>(bgi::runtime::linear(4, 2));
+#endif
+
+ return 0;
+}


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk