]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/algorithm/test/power_fail1.cpp
2 Copyright (c) Marshall Clow 2014.
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)
7 For more information, see http://www.boost.org
12 #include <boost/config.hpp>
13 #include <boost/algorithm/algorithm.hpp>
15 #define BOOST_TEST_MAIN
16 #include <boost/test/unit_test.hpp>
18 namespace ba
= boost::algorithm
;
20 BOOST_AUTO_TEST_CASE( test_main
)
22 // Second argument must be an integral value
23 BOOST_CHECK ( ba::power(1, 1.0) == 1);