Skip to content

Commit 4f32811

Browse files
chore: address commit comments for commit bfbe62b
PR-URL: #10998 Closes: #10978 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent a4cd958 commit 4f32811

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

lib/node_modules/@stdlib/stats/base/dists/geometric/mgf/test/test.factory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ tape( 'the created function evaluates the mgf for `x` given large parameter `p`'
150150
t.end();
151151
});
152152

153-
tape( 'the factory function returns NaN when t equals the boundary condition t = -ln(1-p)', function test( t ) {
153+
tape( 'the factory function returns `NaN` when `t` equals the boundary condition `t = -ln(1-p)`', function test( t ) {
154154
var boundary;
155155
var mgf;
156156
var y;

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ tape( 'the function evaluates the MGF for `x` given large parameter `p`', functi
122122
t.end();
123123
});
124124

125-
tape( 'the function returns NaN when t equals the boundary condition t = -ln(1-p)', function test( t ) {
125+
tape( 'the function returns `NaN` when `t` equals the boundary condition `t = -ln(1-p)`', function test( t ) {
126126
var boundary;
127127
var p;
128128
var y;
@@ -134,7 +134,7 @@ tape( 'the function returns NaN when t equals the boundary condition t = -ln(1-p
134134
t.end();
135135
});
136136

137-
tape( 'the function returns a finite value when t is just below the boundary condition', function test( t ) {
137+
tape( 'the function returns a finite value when `t` is just below the boundary condition', function test( t ) {
138138
var boundary;
139139
var p;
140140
var y;
@@ -147,7 +147,7 @@ tape( 'the function returns a finite value when t is just below the boundary con
147147
t.end();
148148
});
149149

150-
tape( 'the function returns NaN when t is just above the boundary condition', function test( t ) {
150+
tape( 'the function returns NaN when `t` is just above the boundary condition', function test( t ) {
151151
var boundary;
152152
var p;
153153
var y;
@@ -159,23 +159,23 @@ tape( 'the function returns NaN when t is just above the boundary condition', fu
159159
t.end();
160160
});
161161

162-
tape( 'the function returns NaN when p equals 0', function test( t ) {
162+
tape( 'the function returns `NaN` when `p` equals `0`', function test( t ) {
163163
var y;
164164

165165
y = mgf( 0.5, 0.0 );
166166
t.strictEqual( isnan( y ), true, 'returns expected value' );
167167
t.end();
168168
});
169169

170-
tape( 'the function returns e^t when p equals 1', function test( t ) {
170+
tape( 'the function returns `e^t` when `p` equals `1`', function test( t ) {
171171
var y;
172172

173173
y = mgf( 0.5, 1.0 );
174174
t.strictEqual( y, exp( 0.5 ), 'returns expected value' );
175175
t.end();
176176
});
177177

178-
tape( 'the function returns NaN for very small p values due to boundary condition', function test( t ) {
178+
tape( 'the function returns `NaN` for very small `p` values due to boundary condition', function test( t ) {
179179
var y;
180180

181181
y = mgf( 0.001, 1e-10 );

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ tape( 'the function evaluates the MGF for `x` given large parameter `p`', opts,
131131
t.end();
132132
});
133133

134-
tape( 'the function returns NaN when t equals the boundary condition t = -ln(1-p)', opts, function test( t ) {
134+
tape( 'the function returns `NaN` when `t` equals the boundary condition `t = -ln(1-p)`', opts, function test( t ) {
135135
var boundary;
136136
var p;
137137
var y;
@@ -143,7 +143,7 @@ tape( 'the function returns NaN when t equals the boundary condition t = -ln(1-p
143143
t.end();
144144
});
145145

146-
tape( 'the function returns a finite value when t is just below the boundary condition', opts, function test( t ) {
146+
tape( 'the function returns a finite value when `t` is just below the boundary condition', opts, function test( t ) {
147147
var boundary;
148148
var p;
149149
var y;
@@ -156,7 +156,7 @@ tape( 'the function returns a finite value when t is just below the boundary con
156156
t.end();
157157
});
158158

159-
tape( 'the function returns NaN when t is just above the boundary condition', opts, function test( t ) {
159+
tape( 'the function returns `NaN` when `t` is just above the boundary condition', opts, function test( t ) {
160160
var boundary;
161161
var p;
162162
var y;
@@ -168,23 +168,23 @@ tape( 'the function returns NaN when t is just above the boundary condition', op
168168
t.end();
169169
});
170170

171-
tape( 'the function returns NaN when p equals 0', opts, function test( t ) {
171+
tape( 'the function returns `NaN` when `p` equals `0`', opts, function test( t ) {
172172
var y;
173173

174174
y = mgf( 0.5, 0.0 );
175175
t.strictEqual( isnan( y ), true, 'returns expected value' );
176176
t.end();
177177
});
178178

179-
tape( 'the function returns e^t when p equals 1', opts, function test( t ) {
179+
tape( 'the function returns `e^t` when `p` equals `1`', opts, function test( t ) {
180180
var y;
181181

182182
y = mgf( 0.5, 1.0 );
183183
t.strictEqual( y, exp( 0.5 ), 'returns expected value' );
184184
t.end();
185185
});
186186

187-
tape( 'the function returns NaN for very small p values due to boundary condition', opts, function test( t ) {
187+
tape( 'the function returns `NaN` for very small `p` values due to boundary condition', opts, function test( t ) {
188188
var y;
189189

190190
y = mgf( 0.001, 1e-10 );

0 commit comments

Comments
 (0)