#include "boost/test/unit_test.hpp"
#include "FixtureBase.h"
#include "fhiclcpp/types/OptionalDelegatedParameter.h"
Go to the source code of this file.
#define BOOST_TEST_MODULE (optionalDelegatedParameter test) |
BOOST_AUTO_TEST_CASE |
( |
optional_delegation_check |
| ) |
|
Definition at line 29 of file optionalDelegatedParameter_t.cc.
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));
static constexpr double ps