test_case.hpp 541 B

123456789101112131415161718
  1. #ifndef BOOST_METAPARSE_TEST_TEST_CASE_HPP
  2. #define BOOST_METAPARSE_TEST_TEST_CASE_HPP
  3. // Copyright Abel Sinkovics (abel@sinkovics.hu) 2015.
  4. // Distributed under the Boost Software License, Version 1.0.
  5. // (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. #include <boost/preprocessor/cat.hpp>
  8. #ifdef BOOST_METAPARSE_TEST_CASE
  9. # error BOOST_METAPARSE_TEST_CASE already defined
  10. #endif
  11. #define BOOST_METAPARSE_TEST_CASE(name) \
  12. void BOOST_PP_CAT(metaparse_test_case_, name)()
  13. #endif