File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/org/cicirello/math/rand Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ public void testNextBinomialRandom() {
130130 public void testNextBinomialLargeN_Splittable () {
131131 SplittableRandom r = new SplittableRandom (42 );
132132 final int N = 1000 ;
133- for (int i = 0 ; i < 5 ; i ++) {
133+ for (int i = 0 ; i < 20 ; i ++) {
134134 int b01 = RandomVariates .nextBinomial (N , 0.01 , r );
135135 int b25 = RandomVariates .nextBinomial (N , 0.25 , r );
136136 int b50 = RandomVariates .nextBinomial (N , 0.5 , r );
@@ -143,8 +143,8 @@ public void testNextBinomialLargeN_Splittable() {
143143 @ Test
144144 public void testNextBinomialLargeN_Random () {
145145 Random r = new Random (42 );
146- final int N = 2000 ;
147- for (int i = 0 ; i < 5 ; i ++) {
146+ final int N = 3000 ;
147+ for (int i = 0 ; i < 20 ; i ++) {
148148 int b01 = RandomVariates .nextBinomial (N , 0.01 , r );
149149 int b25 = RandomVariates .nextBinomial (N , 0.25 , r );
150150 int b50 = RandomVariates .nextBinomial (N , 0.5 , r );
You can’t perform that action at this time.
0 commit comments