File tree Expand file tree Collapse file tree 4 files changed +4
-0
lines changed
lib/node_modules/@stdlib/random/base Expand file tree Collapse file tree 4 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -449,6 +449,7 @@ tape( 'attached to the returned function is a method to serialize the generator
449
449
t . equal ( o . type , 'PRNG' , 'has property' ) ;
450
450
t . equal ( o . name , bernoulli . NAME , 'has property' ) ;
451
451
t . deepEqual ( o . state , typedarray2json ( bernoulli . state ) , 'has property' ) ;
452
+ t . deepEqual ( o . params , [ ] , 'has property' ) ;
452
453
453
454
bernoulli = factory ( 0.5 ) ;
454
455
o = bernoulli . toJSON ( ) ;
Original file line number Diff line number Diff line change @@ -655,6 +655,7 @@ tape( 'attached to the returned function is a method to serialize the generator
655
655
t . equal ( o . type , 'PRNG' , 'has property' ) ;
656
656
t . equal ( o . name , beta . NAME , 'has property' ) ;
657
657
t . deepEqual ( o . state , typedarray2json ( beta . state ) , 'has property' ) ;
658
+ t . deepEqual ( o . params , [ ] , 'has property' ) ;
658
659
659
660
beta = factory ( 1.0 , 2.0 ) ;
660
661
o = beta . toJSON ( ) ;
Original file line number Diff line number Diff line change @@ -514,6 +514,7 @@ tape( 'attached to the returned function is a method to serialize the generator
514
514
t . equal ( o . type , 'PRNG' , 'has property' ) ;
515
515
t . equal ( o . name , betaprime . NAME , 'has property' ) ;
516
516
t . deepEqual ( o . state , typedarray2json ( betaprime . state ) , 'has property' ) ;
517
+ t . deepEqual ( o . params , [ ] , 'has property' ) ;
517
518
518
519
betaprime = factory ( 0.1 , 0.5 ) ;
519
520
o = betaprime . toJSON ( ) ;
Original file line number Diff line number Diff line change @@ -555,6 +555,7 @@ tape( 'attached to the returned function is a method to serialize the generator
555
555
t . equal ( o . type , 'PRNG' , 'has property' ) ;
556
556
t . equal ( o . name , binomial . NAME , 'has property' ) ;
557
557
t . deepEqual ( o . state , typedarray2json ( binomial . state ) , 'has property' ) ;
558
+ t . deepEqual ( o . params , [ ] , 'has property' ) ;
558
559
559
560
binomial = factory ( 10 , 0.5 ) ;
560
561
o = binomial . toJSON ( ) ;
You can’t perform that action at this time.
0 commit comments