2 // Copyright 2013 Christian Henning
4 // Distributed under the Boost Software License, Version 1.0
5 // See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt
8 //#define BOOST_TEST_MODULE png_read_test_module
9 #define BOOST_GIL_IO_ADD_FS_PATH_SUPPORT
10 #define BOOST_GIL_IO_ENABLE_GRAY_ALPHA
11 #define BOOST_FILESYSTEM_VERSION 3
13 #include <boost/gil/extension/io/png.hpp>
15 #include <boost/test/unit_test.hpp>
20 #include "color_space_write_test.hpp"
22 #include "scanline_read_test.hpp"
25 using namespace boost;
27 using namespace boost::gil::detail;
29 using tag_t = png_tag;
31 BOOST_AUTO_TEST_SUITE( gil_io_png_tests )
33 BOOST_AUTO_TEST_CASE( rgb_color_space_write_test )
35 color_space_write_test< tag_t >( png_out + "rgb_color_space_test.png"
36 , png_out + "bgr_color_space_test.png"
40 BOOST_AUTO_TEST_SUITE_END()