• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/gil.hpp>
11 #include <boost/gil/extension/toolbox/color_converters/gray_to_rgba.hpp>
12 
13 using namespace boost;
14 using namespace gil;
15 
16 BOOST_AUTO_TEST_SUITE( toolbox_tests )
17 
BOOST_AUTO_TEST_CASE(gray_to_rgba_test)18 BOOST_AUTO_TEST_CASE( gray_to_rgba_test )
19 {
20     gray8_pixel_t a( 45 );
21     rgba8_pixel_t b;
22 
23     color_convert( a, b );
24 }
25 
26 BOOST_AUTO_TEST_SUITE_END()
27