mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
randomT_test.cpp File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ SCENARIO() [1/2]

SCENARIO ( "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 seeding works. Note that there is the very slight possibility that normal operation could return two consecutive variates with the same value which would cause some of the below tests to fail. Will probably never happen . . .

Definition at line 18 of file randomT_test.cpp.

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

◆ SCENARIO() [2/2]

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

Verify compilation and basic operation of randomT with the Lapace distribution Basic tests include verification that seeding works. Note that there is the very slight possibility that normal operation could return two consecutive variates with the same value which would cause some of the below tests to fail. Will probably never happen . . .

Definition at line 106 of file randomT_test.cpp.

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