Imported Upstream version 1.71.0
[platform/upstream/boost.git] / libs / gil / toolbox / test / gray_to_rgba.cpp
1 //
2 // Copyright 2013 Christian Henning
3 //
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
7 //
8 #include <boost/test/unit_test.hpp>
9
10 #include <boost/type_traits/is_same.hpp>
11
12 #include <boost/gil.hpp>
13 #include <boost/gil/extension/toolbox/color_converters/gray_to_rgba.hpp>
14
15 using namespace boost;
16 using namespace gil;
17
18 BOOST_AUTO_TEST_SUITE( toolbox_tests )
19
20 BOOST_AUTO_TEST_CASE( gray_to_rgba_test )
21 {
22     gray8_pixel_t a( 45 );
23     rgba8_pixel_t b;
24
25     color_convert( a, b );
26 }
27
28 BOOST_AUTO_TEST_SUITE_END()