]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/test/doc/examples/dataset_example61.run.cpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / test / doc / examples / dataset_example61.run.cpp
CommitLineData
7c673cae
FG
1// (C) Copyright Raffi Enficiaud 2014.
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 dataset_example61
10#include <boost/test/included/unit_test.hpp>
11#include <boost/test/data/test_case.hpp>
12#include <boost/test/data/monomorphic.hpp>
13
14namespace data = boost::unit_test::data;
15
16int samples1[] = {1,2};
17char const* samples2[] = {"qwerty", "asdfg"};
18
19BOOST_DATA_TEST_CASE(
20 test1,
21 data::make(samples1)^samples2,
22 integer_values,
23 string_value)
24{
25 std::cout << integer_values << ", " << string_value << std::endl;
26}
27//]