Skip to content

Commit 3bd7f25

Browse files
authored
Update test.native.js
Signed-off-by: Gunj Joshi <[email protected]>
1 parent 5f84013 commit 3bd7f25

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/math/base/special/ahaversinf/test

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/math/base/special/ahaversinf/test/test.native.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ tape( 'the function computes the inverse half-value versed sine (small positive
101101

102102
tape( 'the function returns `NaN` if provided `NaN`', opts, function test( t ) {
103103
var v = ahaversinf( NaN );
104-
t.strictEqual( isnanf( v ), true, 'returns NaN' );
104+
t.strictEqual( isnanf( v ), true, 'returns expected value' );
105105
t.end();
106106
});
107107

@@ -110,7 +110,7 @@ tape( 'the function returns `NaN` if provided a value less than `0`', opts, func
110110
var i;
111111
for ( i = 0; i < 1e4; i++ ) {
112112
v = -( randu() * 1.0e6 ) - EPS;
113-
t.strictEqual( isnanf( ahaversinf( v ) ), true, 'returns NaN when provided '+v );
113+
t.strictEqual( isnanf( ahaversinf( v ) ), true, 'returns expected value when provided '+v );
114114
}
115115
t.end();
116116
});
@@ -120,7 +120,7 @@ tape( 'the function returns `NaN` if provided a value greater than `1`', opts, f
120120
var i;
121121
for ( i = 0; i < 1e4; i++ ) {
122122
v = ( randu() * 1.0e6 ) + 1.0 + EPS;
123-
t.strictEqual( isnanf( ahaversinf( v ) ), true, 'returns NaN when provided '+v );
123+
t.strictEqual( isnanf( ahaversinf( v ) ), true, 'returns expected value when provided '+v );
124124
}
125125
t.end();
126126
});

0 commit comments

Comments
 (0)