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 #include <boost/gil/extension/toolbox/color_spaces/gray_alpha.hpp>
10 #include <boost/test/unit_test.hpp>
11 #include <boost/type_traits/is_same.hpp>
13 using namespace boost;
16 BOOST_AUTO_TEST_SUITE( toolbox_tests )
18 BOOST_AUTO_TEST_CASE( gray_alpha_test )
21 gray_alpha8_pixel_t a( 10, 20 );
24 color_convert( a, b );
28 gray_alpha8_pixel_t a( 10, 20 );
30 gray_alpha8_pixel_t c;
32 color_convert( a, b );
36 gray_alpha8_pixel_t a( 10, 20 );
38 gray_alpha8_pixel_t c;
40 color_convert( a, b );
44 BOOST_AUTO_TEST_SUITE_END()