gray_to_rgba.cpp 570 B

1234567891011121314151617181920212223242526
  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. #include <boost/gil.hpp>
  10. #include <boost/gil/extension/toolbox/color_converters/gray_to_rgba.hpp>
  11. using namespace boost;
  12. using namespace gil;
  13. BOOST_AUTO_TEST_SUITE( toolbox_tests )
  14. BOOST_AUTO_TEST_CASE( gray_to_rgba_test )
  15. {
  16. gray8_pixel_t a( 45 );
  17. rgba8_pixel_t b;
  18. color_convert( a, b );
  19. }
  20. BOOST_AUTO_TEST_SUITE_END()