// // Copyright 2019 Mateusz Loskot // // Distributed under the Boost Software License, Version 1.0 // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // #include namespace gil = boost::gil; template void test_is_planar() { static_assert(gil::is_planar::value, "view should be planar"); } template void test_is_planar_not() { static_assert(!gil::is_planar::value, "view should not be planar"); } int main() { test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar(); test_is_planar(); test_is_planar(); test_is_planar(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar(); test_is_planar(); test_is_planar(); test_is_planar(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar_not(); test_is_planar(); test_is_planar(); test_is_planar(); test_is_planar(); }