// Copyright Nick Thompson 2018. // Use, modification and distribution are subject to 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) // // Basic sanity check that header // #includes all the files that it needs to. // #include // // Note this header includes no other headers, this is // important if this test is to be meaningful: // #include "test_compile_result.hpp" void compile_and_link_test() { std::vector p0{0.1, 0.2, 0.3}; std::vector p1{0.2, 0.3, 0.4}; std::vector p2{0.3, 0.4, 0.5}; std::vector p3{0.4, 0.5, 0.6}; std::vector p4{0.5, 0.6, 0.7}; std::vector p5{0.6, 0.7, 0.8}; std::vector> v{p0, p1, p2, p3, p4, p5}; boost::math::catmull_rom> cat(std::move(v)); check_result>(cat(0.0)); check_result>(cat.prime(0.0)); }