]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // (C) Copyright Andrzej Krzemienski 2015. |
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 | // See http://www.boost.org/libs/test for the library home page. | |
7 | ||
8 | //[example_code | |
9 | #define BOOST_TEST_MODULE decorator_00 | |
10 | #include <boost/test/included/unit_test.hpp> | |
11 | #include <boost/test/data/test_case.hpp> | |
12 | ||
13 | namespace utf = boost::unit_test; | |
14 | namespace data = boost::unit_test::data; | |
15 | ||
16 | BOOST_TEST_DECORATOR(* utf::description("with description")) | |
17 | BOOST_DATA_TEST_CASE(test_1, data::xrange(4)) | |
18 | { | |
19 | BOOST_TEST(sample >= 0); | |
20 | } | |
21 | //] |