#include "boost/test/unit_test.hpp"
#include "fhiclcpp/ParameterSet.h"
#include <set>
#include <string>
#include <vector>
Go to the source code of this file.
#define BOOST_TEST_MODULE (KeyAssembler test) |
BOOST_AUTO_TEST_CASE |
( |
t1 |
| ) |
|
Definition at line 16 of file key_assembler_t.cc.
24 " g: [ {h1: i1}, {h2: i2} ]\n" 27 auto const keys = pset.get_all_keys();
28 std::set<std::string>
const sorted_keys{
keys.begin(),
keys.end()};
30 auto const ref = {
"p1",
44 std::set<std::string>
const sorted_ref{ref.begin(), ref.end()};
45 BOOST_TEST(sorted_keys == sorted_ref);