#include "WireCellUtil/PluginManager.h"
#include "WireCellUtil/NamedFactory.h"
#include "WireCellIface/IRandom.h"
#include "WireCellIface/IConfigurable.h"
#include "WireCellUtil/ExecMon.h"
#include "WireCellUtil/Testing.h"
#include <iostream>
#include <complex>
#include <vector>
Go to the source code of this file.
Functions | |
double | normalize (std::complex< double > val) |
double | normalize (double val) |
double | normalize (int val) |
template<typename NumType , int nbins = 10, int nstars = 100, int ntries = 100000> | |
void | histify (std::function< NumType()> gen) |
void | test_named (std::string generator_name) |
void | test_repeat () |
int | main () |
void histify | ( | std::function< NumType()> | gen | ) |
Definition at line 31 of file test_random.cxx.
int main | ( | void | ) |
Definition at line 110 of file test_random.cxx.
double normalize | ( | std::complex< double > | val | ) |
Definition at line 20 of file test_random.cxx.
double normalize | ( | double | val | ) |
Definition at line 23 of file test_random.cxx.
double normalize | ( | int | val | ) |
Definition at line 26 of file test_random.cxx.
void test_named | ( | std::string | generator_name | ) |
Definition at line 55 of file test_random.cxx.
void test_repeat | ( | ) |
Definition at line 91 of file test_random.cxx.