Skip to content

Commit b3d39f3

Browse files
fix: added opts in test.native
1 parent 53a573d commit b3d39f3

File tree

1 file changed

+7
-7
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/exponential/mgf/test

1 file changed

+7
-7
lines changed

lib/node_modules/@stdlib/stats/base/dists/exponential/mgf/test/test.native.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ tape( 'main export is a function', opts, function test( t ) {
5353
t.end();
5454
});
5555

56-
tape( 'if provided `NaN` for any parameter, the function returns `NaN`', function test( t ) {
56+
tape( 'if provided `NaN` for any parameter, the function returns `NaN`', opts, function test( t ) {
5757
var y = mgf( NaN, 1.0 );
5858
t.equal( isnan( y ), true, 'returns NaN' );
5959
y = mgf( 0.0, NaN );
6060
t.equal( isnan( y ), true, 'returns NaN' );
6161
t.end();
6262
});
6363

64-
tape( 'if provided `+infinity` for `lambda`, the function returns `NaN`', function test( t ) {
64+
tape( 'if provided `+infinity` for `lambda`, the function returns `NaN`', opts, function test( t ) {
6565
var y;
6666

6767
y = mgf( 0.0, PINF );
@@ -79,7 +79,7 @@ tape( 'if provided `+infinity` for `lambda`, the function returns `NaN`', functi
7979
t.end();
8080
});
8181

82-
tape( 'if provided a nonpositive `lambda`, the function always returns `NaN`', function test( t ) {
82+
tape( 'if provided a nonpositive `lambda`, the function always returns `NaN`', opts, function test( t ) {
8383
var y;
8484

8585
y = mgf( 2.0, -1.0 );
@@ -100,7 +100,7 @@ tape( 'if provided a nonpositive `lambda`, the function always returns `NaN`', f
100100
t.end();
101101
});
102102

103-
tape( 'the function returns `NaN` for `x >= lambda`', function test( t ) {
103+
tape( 'the function returns `NaN` for `x >= lambda`', opts, function test( t ) {
104104
var y;
105105

106106
y = mgf( 4.0, 3.0 );
@@ -112,7 +112,7 @@ tape( 'the function returns `NaN` for `x >= lambda`', function test( t ) {
112112
t.end();
113113
});
114114

115-
tape( 'the function evaluates the mgf for `x` given small `lambda` values', function test( t ) {
115+
tape( 'the function evaluates the mgf for `x` given small `lambda` values', opts, function test( t ) {
116116
var expected;
117117
var lambda;
118118
var delta;
@@ -137,7 +137,7 @@ tape( 'the function evaluates the mgf for `x` given small `lambda` values', func
137137
t.end();
138138
});
139139

140-
tape( 'the function evaluates the mgf for `x` given medium `lambda` values', function test( t ) {
140+
tape( 'the function evaluates the mgf for `x` given medium `lambda` values', opts, function test( t ) {
141141
var expected;
142142
var lambda;
143143
var delta;
@@ -162,7 +162,7 @@ tape( 'the function evaluates the mgf for `x` given medium `lambda` values', fun
162162
t.end();
163163
});
164164

165-
tape( 'the function evaluates the mgf for `x` given large `lambda` values', function test( t ) {
165+
tape( 'the function evaluates the mgf for `x` given large `lambda` values', opts, function test( t ) {
166166
var expected;
167167
var lambda;
168168
var delta;

0 commit comments

Comments
 (0)