diff options
Diffstat (limited to 'src/boost/libs/test/test/smoke-ts/basic-smoke-test.cpp')
-rw-r--r-- | src/boost/libs/test/test/smoke-ts/basic-smoke-test.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/boost/libs/test/test/smoke-ts/basic-smoke-test.cpp b/src/boost/libs/test/test/smoke-ts/basic-smoke-test.cpp new file mode 100644 index 00000000..31cab979 --- /dev/null +++ b/src/boost/libs/test/test/smoke-ts/basic-smoke-test.cpp @@ -0,0 +1,25 @@ +// (C) Copyright Raffi Enficiaud 2016. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +// See http://www.boost.org/libs/test for the library home page. + +#define BOOST_TEST_MODULE basic_smoke_test +#include <boost/test/included/unit_test.hpp> +#include <boost/test/data/test_case.hpp> +#include <boost/test/data/monomorphic.hpp> + +#include <iostream> + +namespace bdata = boost::unit_test::data; + + +BOOST_DATA_TEST_CASE( + test1, + bdata::xrange(2) * bdata::xrange(3), + xr1, xr2) +{ + std::cout << "test 1: " << xr1 << ", " << xr2 << std::endl; + BOOST_TEST((xr1 <= 2 && xr2 <= 3)); +} |