2
0
mirror of https://github.com/boostorg/json.git synced 2026-01-31 08:12:25 +00:00
Files
json/test/kind.cpp
2020-09-01 15:44:47 -07:00

40 lines
698 B
C++

//
// Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.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/cppalliance/json
//
// Test that header file is self-contained.
#include <boost/json/kind.hpp>
#include <type_traits>
#include "test_suite.hpp"
BOOST_JSON_NS_BEGIN
class kind_test
{
public:
BOOST_STATIC_ASSERT(
std::is_enum<kind>::value);
void
testEnum()
{
BOOST_TEST_PASS();
}
void run()
{
testEnum();
}
};
TEST_SUITE(kind_test, "boost.json.kind");
BOOST_JSON_NS_END