1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
# Boost.Geometry
# Copyright (c) 2024 Barend Gehrels, Amsterdam, the Netherlands.
# 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)
foreach(item IN ITEMS
buffer
buffer_gc
buffer_variable_width
)
boost_geometry_add_unit_test("algorithms" ${item})
endforeach()
# Tests for all geometry types, cartesian, for one floating point type
foreach(item IN ITEMS
buffer_point
buffer_ring
buffer_polygon
buffer_multi_point
buffer_multi_polygon
buffer_multi_linestring
)
boost_geometry_add_unit_test("algorithms" ${item})
target_compile_definitions(${BOOST_GEOMETRY_UNIT_TEST_NAME} PRIVATE BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE)
endforeach()
# Tests for geographic and spherical
foreach(item IN ITEMS
buffer_point_geo
buffer_polygon_geo
buffer_multi_linestring_geo
buffer_multi_polygon_geo
buffer_geo_spheroid
)
boost_geometry_add_unit_test("algorithms" ${item})
target_compile_definitions(${BOOST_GEOMETRY_UNIT_TEST_NAME} PRIVATE BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE)
endforeach()
# Tests which take a long time and are not run by default.
# Besides that, the buffer_countries test requires the WKT files.
foreach(item IN ITEMS
buffer_countries
buffer_linestring
buffer_linestring_geo
)
boost_geometry_add_unit_test("algorithms" ${item} "not_run")
target_compile_definitions(${BOOST_GEOMETRY_UNIT_TEST_NAME} PRIVATE BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE)
endforeach()
# Other tests
foreach(item IN ITEMS
buffer_with_strategies
buffer_piece_border
buffer_linestring_aimes
)
boost_geometry_add_unit_test("algorithms" ${item})
target_compile_definitions(${BOOST_GEOMETRY_UNIT_TEST_NAME} PRIVATE BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE)
endforeach()
|