A Discrete-Event Network Simulator
API
rng-test-suite.cc File Reference

Random number generators tests. More...

#include <cmath>
#include <gsl/gsl_cdf.h>
#include <gsl/gsl_histogram.h>
#include <ctime>
#include <fstream>
#include "ns3/test.h"
#include "ns3/double.h"
#include "ns3/random-variable-stream.h"
#include "ns3/rng-seed-manager.h"
+ Include dependency graph for rng-test-suite.cc:

Go to the source code of this file.

Classes

class  RngExponentialTestCase
 Test case for exponential distribution random number generator. More...
 
class  RngNormalTestCase
 Test case for normal distribution random number generator. More...
 
class  RngParetoTestCase
 Test case for pareto distribution random number generator. More...
 
class  RngTestSuite
 The random number generators Test Suite. More...
 
class  RngUniformTestCase
 Test case for uniform distribution random number generator. More...
 

Functions

void FillHistoRangeUniformly (double *array, uint32_t n, double start, double end)
 Fill an array with increasing values, in the [start, end] range. More...
 

Variables

static RngTestSuite g_rngTestSuite
 Static variable for test initialization. More...
 

Detailed Description

Random number generators tests.

Definition in file rng-test-suite.cc.

Variable Documentation

◆ g_rngTestSuite

RngTestSuite g_rngTestSuite
static

Static variable for test initialization.

Definition at line 493 of file rng-test-suite.cc.