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.hpp>
9 #include <boost/gil/extension/toolbox/metafunctions/pixel_bit_size.hpp>
11 #include <boost/test/unit_test.hpp>
13 using namespace boost;
16 BOOST_AUTO_TEST_SUITE( toolbox_tests )
18 BOOST_AUTO_TEST_CASE( pixel_bit_size_test )
20 using image_t = bit_aligned_image5_type
22 16, 16, 16, 8, 8, devicen_layout_t<5>
24 static_assert(pixel_bit_size<image_t::view_t::reference>::value == 64, "");
27 BOOST_AUTO_TEST_SUITE_END()