#include "fhiclcpp/ParameterSet.h"
#include <cassert>
#include <string>
Go to the source code of this file.
Definition at line 7 of file hex_test.cc.
10 "small: 0xF large: 0X1000 very_large: 0xabcdefabcdefabcdef ");
11 text.append(
"small_bin: 0b01 large_bin: 0b01010101");
14 assert(
ps.get<
int>(
"small") == 15);
15 assert(
ps.get<
unsigned long>(
"large") == 0x1000);
16 assert(
ps.get<
std::string>(
"very_large") ==
"3.169232504802520059375e21");
17 assert(
ps.get<
int>(
"small_bin") == 1);
18 assert(
ps.get<
unsigned long>(
"large_bin") == 85);
static ParameterSet make(intermediate_table const &tbl)
static constexpr double ps