Skip to content
Snippets Groups Projects
Verified Commit eaed0216 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Generate fewer pseudo-random samples in unit tests.

parent 5ccfdd54
No related branches found
No related tags found
No related merge requests found
...@@ -132,7 +132,7 @@ return % --*-- Unit tests --*-- ...@@ -132,7 +132,7 @@ return % --*-- Unit tests --*--
if ~isoctave && ~user_has_matlab_license('statistics_toolbox') if ~isoctave && ~user_has_matlab_license('statistics_toolbox')
method = struct('small', 'Weibull-rejection', 'large', 'Knuth'); method = struct('small', 'Weibull-rejection', 'large', 'Knuth');
n = 1000000; n = 1000000;
m = 100; m = 1;
a = 0.1; a = 0.1;
b = 1.0; b = 1.0;
try try
...@@ -171,7 +171,7 @@ end ...@@ -171,7 +171,7 @@ end
if ~isoctave && ~user_has_matlab_license('statistics_toolbox') if ~isoctave && ~user_has_matlab_license('statistics_toolbox')
method = struct('small', 'Johnk', 'large', 'Knuth'); method = struct('small', 'Johnk', 'large', 'Knuth');
n = 1000000; n = 1000000;
m = 100; m = 1;
a = 0.1; a = 0.1;
b = 1.0; b = 1.0;
try try
...@@ -210,7 +210,7 @@ end ...@@ -210,7 +210,7 @@ end
if ~isoctave && ~user_has_matlab_license('statistics_toolbox') if ~isoctave && ~user_has_matlab_license('statistics_toolbox')
method = struct('small', 'Berman', 'large', 'Knuth'); method = struct('small', 'Berman', 'large', 'Knuth');
n = 1000000; n = 1000000;
m = 100; m = 1;
a = 0.1; a = 0.1;
b = 1.0; b = 1.0;
try try
...@@ -249,7 +249,7 @@ end ...@@ -249,7 +249,7 @@ end
if ~isoctave && ~user_has_matlab_license('statistics_toolbox') if ~isoctave && ~user_has_matlab_license('statistics_toolbox')
method = struct('small', 'Ahrens-Dieter', 'large', 'Knuth'); method = struct('small', 'Ahrens-Dieter', 'large', 'Knuth');
n = 1000000; n = 1000000;
m = 100; m = 1;
a = 0.1; a = 0.1;
b = 1.0; b = 1.0;
try try
...@@ -287,8 +287,8 @@ end ...@@ -287,8 +287,8 @@ end
%@test:5 %@test:5
if ~isoctave && ~user_has_matlab_license('statistics_toolbox') if ~isoctave && ~user_has_matlab_license('statistics_toolbox')
method = struct('small', 'Best', 'large', 'Knuth'); method = struct('small', 'Best', 'large', 'Knuth');
n = 1000000; n = 10000000;
m = 100; m = 1;
a = 0.1; a = 0.1;
b = 1.0; b = 1.0;
try try
...@@ -326,8 +326,8 @@ end ...@@ -326,8 +326,8 @@ end
%@test:6 %@test:6
if ~isoctave && ~user_has_matlab_license('statistics_toolbox') if ~isoctave && ~user_has_matlab_license('statistics_toolbox')
method = struct('small', 'Weibull-rejection', 'large', 'Knuth'); method = struct('small', 'Weibull-rejection', 'large', 'Knuth');
n = 1000000; n = 10000000;
m = 100; m = 1;
a = 1.5; a = 1.5;
b = 1.0; b = 1.0;
try try
...@@ -365,8 +365,8 @@ end ...@@ -365,8 +365,8 @@ end
%@test:7 %@test:7
if ~isoctave && ~user_has_matlab_license('statistics_toolbox') if ~isoctave && ~user_has_matlab_license('statistics_toolbox')
method = struct('small', 'Weibull-rejection', 'large', 'Cheng'); method = struct('small', 'Weibull-rejection', 'large', 'Cheng');
n = 1000000; n = 10000000;
m = 100; m = 1;
a = 1.5; a = 1.5;
b = 1.0; b = 1.0;
try try
...@@ -404,8 +404,8 @@ end ...@@ -404,8 +404,8 @@ end
%@test:8 %@test:8
if ~isoctave && ~user_has_matlab_license('statistics_toolbox') if ~isoctave && ~user_has_matlab_license('statistics_toolbox')
method = struct('small', 'Weibull-rejection', 'large', 'Best'); method = struct('small', 'Weibull-rejection', 'large', 'Best');
n = 1000000; n = 10000000;
m = 100; m = 1;
a = 1.5; a = 1.5;
b = 1.0; b = 1.0;
try try
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment