Skip to content

Commit ecd868e

Browse files
committed
Add missing tests
1 parent 70308e2 commit ecd868e

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

lib/node_modules/@stdlib/random/base/bernoulli/test/test.factory.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ tape( 'attached to the returned function is a method to serialize the generator
449449
t.equal( o.type, 'PRNG', 'has property' );
450450
t.equal( o.name, bernoulli.NAME, 'has property' );
451451
t.deepEqual( o.state, typedarray2json( bernoulli.state ), 'has property' );
452+
t.deepEqual( o.params, [], 'has property' );
452453

453454
bernoulli = factory( 0.5 );
454455
o = bernoulli.toJSON();

lib/node_modules/@stdlib/random/base/beta/test/test.factory.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,7 @@ tape( 'attached to the returned function is a method to serialize the generator
655655
t.equal( o.type, 'PRNG', 'has property' );
656656
t.equal( o.name, beta.NAME, 'has property' );
657657
t.deepEqual( o.state, typedarray2json( beta.state ), 'has property' );
658+
t.deepEqual( o.params, [], 'has property' );
658659

659660
beta = factory( 1.0, 2.0 );
660661
o = beta.toJSON();

lib/node_modules/@stdlib/random/base/betaprime/test/test.factory.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ tape( 'attached to the returned function is a method to serialize the generator
514514
t.equal( o.type, 'PRNG', 'has property' );
515515
t.equal( o.name, betaprime.NAME, 'has property' );
516516
t.deepEqual( o.state, typedarray2json( betaprime.state ), 'has property' );
517+
t.deepEqual( o.params, [], 'has property' );
517518

518519
betaprime = factory( 0.1, 0.5 );
519520
o = betaprime.toJSON();

lib/node_modules/@stdlib/random/base/binomial/test/test.factory.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ tape( 'attached to the returned function is a method to serialize the generator
555555
t.equal( o.type, 'PRNG', 'has property' );
556556
t.equal( o.name, binomial.NAME, 'has property' );
557557
t.deepEqual( o.state, typedarray2json( binomial.state ), 'has property' );
558+
t.deepEqual( o.params, [], 'has property' );
558559

559560
binomial = factory( 10, 0.5 );
560561
o = binomial.toJSON();

0 commit comments

Comments
 (0)