mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-13 12:32:09 +00:00
rtree all tests divided into 2 files(for points and boxes) because b2 was complaining about the files sizes.
rtree tests were generated by tests/rtree_test_generator.cpp [SVN r81912]
This commit is contained in:
20
test/rtree/generated/rtree_b2f_linear.cpp
Normal file
20
test/rtree/generated/rtree_b2f_linear.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
// 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.hpp>
|
||||
#include <boost/geometry/geometries/box.hpp>
|
||||
|
||||
int test_main(int, char* [])
|
||||
{
|
||||
typedef bg::model::point<float, 2, bg::cs::cartesian> Point;
|
||||
test_rtree_for_box<Point>(bgi::linear<4, 2>());
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user