70 (TesterEnv.ServiceParameters(
"AtomicNumberService"));
75 unsigned int Z = Zprov.Z();
76 if (Z != expected.
Z) {
78 <<
": wrong atomic number: " << Z
79 <<
" (expected: " << expected.
Z <<
")";
107 "TestXenonConfiguration",
Class holding a configuration for a test environment.
Provider returning atomic number of the active material in the TPC.
MaybeLogger_< ELseverityLevel::ELsev_error, false > LogError
unsigned int TestXenonConfiguration()
void AddDefaultServiceConfiguration(std::string service_name, std::string service_cfg)
Adds a default configuration for the specified service.
TESTENV CreateTesterEnvironment(CONFIG &&config, ARGS...other_args)
Constructs and returns a TesterEnvironment object.
Structure to hold enough information to computed the expected results.
Provides information about the active material in the TPC.
int main(int argc, char **argv)
unsigned int TestConfiguration(std::string testName, std::string configuration, Results_t const &expected)
unsigned int Z
atomic number
unsigned int TestDefaultConfiguration()