Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / gil / test / extension / toolbox / cmyka.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/gil/extension/toolbox/color_spaces/cmyka.hpp>
9
10 #include <boost/test/unit_test.hpp>
11
12 using namespace boost;
13 using namespace gil;
14
15 BOOST_AUTO_TEST_SUITE( toolbox_tests )
16
17 BOOST_AUTO_TEST_CASE( cmyka_test )
18 {
19     cmyka8_pixel_t a( 10, 20, 30, 40, 50 );
20     rgba8_pixel_t  b;
21     cmyka8_pixel_t c;
22
23     color_convert( a, b );
24
25     // no rgba to cmyka conversion implemented
26     //color_convert( b, c );
27     //BOOST_ASSERT( at_c<0>(a) == at_c<0>(c) );
28 }
29
30 BOOST_AUTO_TEST_SUITE_END()