forked from boostorg/beast
Boost prep
This commit is contained in:
+8
-5
@@ -4,13 +4,16 @@
|
||||
// Distributed under 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)
|
||||
//
|
||||
// Official repository: https://github.com/boostorg/beast
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <beast/core/detail/clamp.hpp>
|
||||
#include <boost/beast/core/detail/clamp.hpp>
|
||||
|
||||
#include <beast/unit_test/suite.hpp>
|
||||
#include <boost/beast/unit_test/suite.hpp>
|
||||
#include <climits>
|
||||
|
||||
namespace boost {
|
||||
namespace beast {
|
||||
namespace detail {
|
||||
|
||||
@@ -19,7 +22,7 @@ class clamp_test : public beast::unit_test::suite
|
||||
public:
|
||||
void testClamp()
|
||||
{
|
||||
BEAST_EXPECT(clamp(
|
||||
BOOST_BEAST_EXPECT(clamp(
|
||||
(std::numeric_limits<std::uint64_t>::max)()) ==
|
||||
(std::numeric_limits<std::size_t>::max)());
|
||||
}
|
||||
@@ -30,8 +33,8 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
BEAST_DEFINE_TESTSUITE(clamp,core,beast);
|
||||
BOOST_BEAST_DEFINE_TESTSUITE(clamp,core,beast);
|
||||
|
||||
} // detail
|
||||
} // beast
|
||||
|
||||
} // boost
|
||||
|
||||
Reference in New Issue
Block a user