Unit test for quantities_fhicl.h
header.
More...
#include <boost/test/unit_test.hpp>
#include "lardataalg/Utilities/quantities/spacetime.h"
#include "lardataalg/Utilities/quantities_fhicl.h"
#include "test/Utilities/disable_boost_fpc_tolerance.hpp"
#include "fhiclcpp/types/Table.h"
#include "fhiclcpp/types/Atom.h"
#include "fhiclcpp/ParameterSet.h"
#include <type_traits>
Go to the source code of this file.
Macros | |
#define | BOOST_TEST_MODULE ( quantities_fhicl_test ) |
Functions | |
template<typename Config > | |
fhicl::Table< Config > | validateConfig (fhicl::ParameterSet const &pset) |
template<typename Config > | |
fhicl::Table< Config > | validateConfig (std::string const &configStr) |
void | test_makeQuantity () |
void | test_readQuantity () |
void | test_writeQuantity () |
BOOST_AUTO_TEST_CASE (quantities_testcase) | |
BOOST_AUTO_TEST_CASE (quantities_fhicl_testcase) | |
Unit test for quantities_fhicl.h
header.
Definition in file quantities_fhicl_test.cc.
#define BOOST_TEST_MODULE ( quantities_fhicl_test ) |
Definition at line 11 of file quantities_fhicl_test.cc.
BOOST_AUTO_TEST_CASE | ( | quantities_testcase | ) |
Definition at line 162 of file quantities_fhicl_test.cc.
BOOST_AUTO_TEST_CASE | ( | quantities_fhicl_testcase | ) |
Definition at line 169 of file quantities_fhicl_test.cc.
void test_makeQuantity | ( | ) |
Definition at line 58 of file quantities_fhicl_test.cc.
void test_readQuantity | ( | ) |
Definition at line 105 of file quantities_fhicl_test.cc.
void test_writeQuantity | ( | ) |
Definition at line 132 of file quantities_fhicl_test.cc.
fhicl::Table<Config> validateConfig | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 30 of file quantities_fhicl_test.cc.
fhicl::Table<Config> validateConfig | ( | std::string const & | configStr | ) |
Definition at line 49 of file quantities_fhicl_test.cc.