// // Copyright (c) 2017 James E. King III // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // Entropy error class test // #include #include #include int main(int, char*[]) { using namespace boost::uuids; entropy_error err(6, "foo"); BOOST_TEST_EQ(6, err.errcode()); BOOST_TEST_CSTR_EQ("foo", err.what()); return boost::report_errors(); }