mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches
Random Number Unit Tests

Functions

 TEST_CASE ("Verify compilation and basic operation of randomT with std::distributions", "[math::randomT]")
 TEST_CASE ("Verify compilation and basic operation of randomT with the Laplace distribution", "[math::laplace_distribution]")

Function Documentation

◆ TEST_CASE() [1/2]

TEST_CASE ( "Verify compilation and basic operation of randomT with std::distributions" ,
"" [math::randomT] )

Verify compilation and basic operation of randomT with std::distributions.

Basic tests include verification that explicit seeding produces reproducible variates.

Definition at line 20 of file randomT_test.cpp.

References mx::math::randomT< typeT, _ranengT, _randistT >::seed().

◆ TEST_CASE() [2/2]

TEST_CASE ( "Verify compilation and basic operation of randomT with the Laplace distribution" ,
"" [math::laplace_distribution] )

Verify compilation and basic operation of randomT with the Laplace distribution

Basic tests include verification that explicit seeding produces reproducible variates.

Definition at line 111 of file randomT_test.cpp.

References mx::math::randomT< typeT, _ranengT, _randistT >::seed().