mirror of
https://github.com/boostorg/json.git
synced 2026-01-19 04:12:14 +00:00
43 lines
811 B
C++
43 lines
811 B
C++
//
|
|
// Copyright (c) 2018-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
|
|
//
|
|
// 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/json
|
|
//
|
|
|
|
// Test that header file is self-contained.
|
|
#include <boost/json/kind.hpp>
|
|
|
|
#include <boost/beast/_experimental/unit_test/suite.hpp>
|
|
#include <type_traits>
|
|
|
|
namespace boost {
|
|
namespace beast {
|
|
namespace json {
|
|
|
|
class kind_test : public unit_test::suite
|
|
{
|
|
public:
|
|
BOOST_STATIC_ASSERT(
|
|
std::is_enum<kind>::value);
|
|
|
|
void
|
|
testEnum()
|
|
{
|
|
pass();
|
|
}
|
|
|
|
void run() override
|
|
{
|
|
testEnum();
|
|
}
|
|
};
|
|
|
|
BEAST_DEFINE_TESTSUITE(beast,json,kind);
|
|
|
|
} // json
|
|
} // beast
|
|
} // boost
|