@@ -180,31 +180,31 @@ tape( 'the function computes the hyperbolic cosecant (tiny positive)', opts, fun
180
180
181
181
tape ( 'the function returns `NaN` if provided a `NaN`' , opts , function test ( t ) {
182
182
var v = csch ( NaN ) ;
183
- t . equal ( isnan ( v ) , true , 'returns NaN ' ) ;
183
+ t . equal ( isnan ( v ) , true , 'returns expected value ' ) ;
184
184
t . end ( ) ;
185
185
} ) ;
186
186
187
187
tape ( 'the function returns `+Infinity` if provided `+0.0`' , opts , function test ( t ) {
188
188
var v = csch ( + 0.0 ) ;
189
- t . equal ( v , PINF , 'returns +Infinity ' ) ;
189
+ t . equal ( v , PINF , 'returns expected value ' ) ;
190
190
t . end ( ) ;
191
191
} ) ;
192
192
193
193
tape ( 'the function returns `-Infinity` if provided `-0.0`' , opts , function test ( t ) {
194
194
var v = csch ( - 0.0 ) ;
195
- t . equal ( v , NINF , 'returns -Infinity ' ) ;
195
+ t . equal ( v , NINF , 'returns expected value ' ) ;
196
196
t . end ( ) ;
197
197
} ) ;
198
198
199
199
tape ( 'the function returns `+0.0` if provided `+Infinity`' , opts , function test ( t ) {
200
200
var v = csch ( PINF ) ;
201
- t . equal ( isPositiveZero ( v ) , true , 'returns +0.0 ' ) ;
201
+ t . equal ( isPositiveZero ( v ) , true , 'returns expected value ' ) ;
202
202
t . end ( ) ;
203
203
} ) ;
204
204
205
205
tape ( 'the function returns `-0.0` if provided `-Infinity`' , opts , function test ( t ) {
206
206
var v = csch ( NINF ) ;
207
- t . equal ( isNegativeZero ( v ) , true , 'returns -0.0 ' ) ;
207
+ t . equal ( isNegativeZero ( v ) , true , 'returns expected value ' ) ;
208
208
t . end ( ) ;
209
209
} ) ;
210
210
@@ -216,7 +216,7 @@ tape( 'the function returns `+0.0` if provided a value greater than `~710.476`',
216
216
for ( i = 0 ; i < 500 ; i ++ ) {
217
217
v = ( randu ( ) * 1e6 ) + 710.476 ;
218
218
y = csch ( v ) ;
219
- t . equal ( isPositiveZero ( y ) , true , 'returns +0.0 ' ) ;
219
+ t . equal ( isPositiveZero ( y ) , true , 'returns expected value ' ) ;
220
220
}
221
221
t . end ( ) ;
222
222
} ) ;
@@ -229,7 +229,7 @@ tape( 'the function returns `-0.0` if provided a value less than `~-709.0896`',
229
229
for ( i = 0 ; i < 500 ; i ++ ) {
230
230
v = ( - randu ( ) * 1e6 ) - 709.0896 ;
231
231
y = csch ( v ) ;
232
- t . equal ( isNegativeZero ( y ) , true , 'returns -0.0 ' ) ;
232
+ t . equal ( isNegativeZero ( y ) , true , 'returns expected value ' ) ;
233
233
}
234
234
t . end ( ) ;
235
235
} ) ;
0 commit comments