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

Random number generators tests. More...

#include "ns3/double.h"
#include "ns3/random-variable-stream.h"
#include "ns3/rng-seed-manager.h"
#include "ns3/test.h"
#include <cmath>
#include <ctime>
#include <fstream>
#include <gsl/gsl_cdf.h>
#include <gsl/gsl_histogram.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 499 of file rng-test-suite.cc.