1 /* 2 Copyright (c) Marshall Clow 2014. 3 4 Distributed under the Boost Software License, Version 1.0. (See accompanying 5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 7 For more information, see http://www.boost.org 8 */ 9 10 #include <iostream> 11 12 #include <boost/config.hpp> 13 #include <boost/algorithm/algorithm.hpp> 14 15 #define BOOST_TEST_MAIN 16 #include <boost/test/unit_test.hpp> 17 18 namespace ba = boost::algorithm; 19 BOOST_AUTO_TEST_CASE(test_main)20BOOST_AUTO_TEST_CASE( test_main ) 21 { 22 // Second argument must be an integral value 23 BOOST_CHECK ( ba::power(1, 1.0) == 1); 24 } 25