2
0
mirror of https://github.com/boostorg/json.git synced 2026-01-26 06:32:23 +00:00
Files
json/test/kind.cpp
2019-12-11 18:34:39 -08:00

42 lines
716 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/vinniefalco/json
//
// Test that header file is self-contained.
#include <boost/json/kind.hpp>
#include <type_traits>
#include "test_suite.hpp"
namespace boost {
namespace json {
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");
} // json
} // boost