|
|
To perform the test and obtain reproducible results, open the **Pseudo Random Number Generator Testing/Simulation/** project folder with Visual Studio, compile and run, after setting the input parameters accordingly.
|
|
|
|
|
|
### Program.cs
|
|
|
|
|
|
```
|
|
|
static int NSEED = 100;
|
|
|
static int NSAMPLE = 100000;
|
|
|
```
|
|
|
|
|
|
A **data.txt** file, containing the sequential prime number seeds on the first row and the corresponding data points for each iteration in the following rows, is the output test (that can be also found in the **Pseudo Random Number Generator Testing/Output Analysis/** directory). The output test is analyzed by the **Pseudo Random Number Generator Testing/Output Analysis/PRNG_test.m** main Matlab file, with the auxiliary function *plotAll.m*.
|
|
|
|
|
|
|
|
|
> [!NOTE]
|
|
|
> The output test (**data.txt**) is too large and cannot be uploaded to Github: it was uploaded with Github LFS. This service has strict limitations on the number of times files can be downloaded per month, regardless of the number of users. It is therefore possible that you may encounter difficulties in downloading this file.
|
|
|
> In any case, this file is the exact output of the corresponding simulation. So, it can also be produced by running the simulation and then moved to the corresponding Output Analysis folder.
|
|
|
|
|
|
|