]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/math/test/compile_test/tools_color_maps_incl_test.cpp
1 // (C) Copyright Matt Borland 2022.
2 // Use, modification and distribution are subject to the
3 // Boost Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #include <boost/math/tools/color_maps.hpp>
7 #include "test_compile_result.hpp"
9 void compile_and_link_test()
11 check_result
<float>(boost::math::tools::black_body
<float>(0.5f
)[0]);
12 check_result
<float>(boost::math::tools::extended_kindlmann
<float>(0.5f
)[0]);
13 check_result
<double>(boost::math::tools::inferno
<double>(0.5)[0]);
14 check_result
<double>(boost::math::tools::kindlmann
<double>(0.5)[0]);
15 check_result
<float>(boost::math::tools::plasma
<float>(0.5f
)[0]);
16 check_result
<float>(boost::math::tools::smooth_cool_warm
<float>(0.5f
)[0]);
17 check_result
<float>(boost::math::tools::viridis
<float>(0.5f
)[0]);