]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. |
2 | // Distributed under the Boost Software License, Version 1.0. | |
3 | // (See accompanying file LICENSE_1_0.txt or copy at | |
4 | // http://www.boost.org/LICENSE_1_0.txt) | |
5 | ||
6 | #define BOOST_TEST_MODULE empty_string | |
7 | ||
8 | #include <boost/metaparse/v1/impl/empty_string.hpp> | |
9 | ||
10 | #include <boost/test/unit_test.hpp> | |
11 | ||
12 | #include <string> | |
13 | ||
14 | BOOST_AUTO_TEST_CASE(test_empty_string) | |
15 | { | |
16 | using boost::metaparse::v1::impl::empty_string; | |
17 | using std::string; | |
18 | ||
19 | // test_value | |
20 | BOOST_REQUIRE_EQUAL(string(), empty_string<>::value); | |
21 | } | |
22 |