1 // Copyright 2015-2017 Hans Dembinski 2 // 3 // Distributed under the Boost Software License, Version 1.0. 4 // (See accompanying file LICENSE_1_0.txt 5 // or copy at http://www.boost.org/LICENSE_1_0.txt) 6 7 #include <boost/core/lightweight_test.hpp> 8 #include <boost/core/lightweight_test_trait.hpp> 9 #include <boost/histogram/detail/convert_integer.hpp> 10 #include "std_ostream.hpp" 11 12 using namespace boost::histogram::detail; 13 main()14 int main() { 15 16 BOOST_TEST_TRAIT_SAME(convert_integer<char, float>, float); 17 BOOST_TEST_TRAIT_SAME(convert_integer<int, float>, float); 18 BOOST_TEST_TRAIT_SAME(convert_integer<double, float>, double); 19 BOOST_TEST_TRAIT_SAME(convert_integer<float, double>, float); 20 21 return boost::report_errors(); 22 } 23