kblib 0.2.3
General utilities library for modern C++
random.cpp File Reference
#include "kblib/random.h"
#include "catch.hpp"
#include <iostream>
#include <sstream>
Include dependency graph for random.cpp:

Go to the source code of this file.

Macros

#define KBLIB_DEBUG_SEED_SEQ   1
 

Functions

 TEST_CASE ("Random engine seeding")
 
 TEST_CASE ("transform_engine")
 
 TEST_CASE ("LCG verification")
 

Macro Definition Documentation

◆ KBLIB_DEBUG_SEED_SEQ

#define KBLIB_DEBUG_SEED_SEQ   1

Definition at line 1 of file random.cpp.

Function Documentation

◆ TEST_CASE() [1/3]

TEST_CASE ( "LCG verification"  )

Definition at line 117 of file random.cpp.

◆ TEST_CASE() [2/3]

TEST_CASE ( "Random engine seeding"  )

Definition at line 12 of file random.cpp.

◆ TEST_CASE() [3/3]

TEST_CASE ( "transform_engine"  )

Definition at line 90 of file random.cpp.