]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/test/doc/examples/dataset_example65.run.cpp
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)
6 // See http://www.boost.org/libs/test for the library home page.
9 #define BOOST_TEST_MODULE dataset_example65
10 #include <boost/test/included/unit_test.hpp>
11 #include <boost/test/data/test_case.hpp>
12 #include <boost/test/data/monomorphic.hpp>
14 namespace bdata
= boost::unit_test::data
;
24 << singleton
<< std::endl
;
25 BOOST_TEST(singleton
== 2);
30 bdata::xrange(3) ^ bdata::make(2),
35 << xr
<< ", " << singleton
<< std::endl
;
36 BOOST_TEST(singleton
== 2);