1 #define BOOST_TEST_MODULE (optionalDelegatedParameter test) 3 #include "boost/test/unit_test.hpp" 23 Fixture() : FixtureBase(
"optionalDelegatedParameter_t.fcl") {}
27 BOOST_FIXTURE_TEST_SUITE(optionalDelegatedParameter_t, Fixture)
32 BOOST_TEST(
config().dt.get_if_present(ps));
34 std::vector<int> nums;
35 BOOST_TEST(
config().
ds.get_if_present(nums));
38 BOOST_TEST(
config().nested().nda.get_if_present(greeting));
39 BOOST_TEST(greeting ==
"Hello, Billy");
42 BOOST_TEST(not
config().nested().ndt.get_if_present(ps));
46 BOOST_AUTO_TEST_SUITE_END()
ChannelGroupService::Name Name
typename config_impl< T >::type Config
BOOST_AUTO_TEST_CASE(optional_delegation_check)
static constexpr double ps