#include "boost/test/unit_test.hpp"
#include "fhiclcpp/ParameterSet.h"
#include <string>
Go to the source code of this file.
#define BOOST_TEST_MODULE (has_key of dotted names test) |
BOOST_AUTO_TEST_CASE |
( |
dotted_names_t |
| ) |
|
Definition at line 10 of file dotted_names.cc.
15 BOOST_TEST(
ps.has_key(
"m1.val"));
16 BOOST_TEST(!
ps.has_key(
"m1.val.three"));
17 BOOST_TEST(
ps.get<
int>(
"m1.val") == 3);
19 BOOST_TEST(!
ps.has_key(
"m0"));
20 BOOST_TEST(!
ps.has_key(
"m0.nothing.to.see.here"));
static ParameterSet make(intermediate_table const &tbl)
static constexpr double ps