d7884ee1a6
Align with `subsampled_view` overloads accepting `point_t` and `coord_t` Both types are based on `std::ptrdiff_t`. Fixes compilation warnings. Tidy up `subimage_view` and `subsampled_view` with trailing return. Add tests for `subimage_view` in core and dynamic_image extension. (First tests for the dynamic_image, hurray! :)) Add explicit cast to double in division operator for point<T> to fix compilation warnings.
29 lines
738 B
Plaintext
29 lines
738 B
Plaintext
# Boost.GIL (Generic Image Library) - tests
|
|
#
|
|
# Copyright (c) 2018 Mateusz Loskot <mateusz@loskot.net>
|
|
#
|
|
# Distributed under 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)
|
|
|
|
import testing ;
|
|
|
|
project
|
|
: requirements
|
|
<include>..
|
|
;
|
|
|
|
compile concepts.cpp ;
|
|
compile derived_view_type.cpp ;
|
|
compile dynamic_step.cpp ;
|
|
compile is_planar.cpp ;
|
|
compile view_is_basic.cpp ;
|
|
compile view_is_mutable.cpp ;
|
|
compile view_is_step.cpp ;
|
|
compile view_type.cpp ;
|
|
compile view_type_from_pixel.cpp ;
|
|
|
|
run collection.cpp ;
|
|
run planar_rgba_view.cpp ;
|
|
run subimage_view.cpp /boost/test//boost_unit_test_framework : : : <link>shared:<define>BOOST_TEST_DYN_LINK=1 ;
|