Skip to content

Commit 5f84013

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

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.js

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

9393
tape( 'the function returns `NaN` if provided `NaN`', function test( t ) {
9494
var v = ahaversinf( NaN );
95-
t.strictEqual( isnanf( v ), true, 'returns NaN' );
95+
t.strictEqual( isnanf( v ), true, 'returns expected value' );
9696
t.end();
9797
});
9898

@@ -101,7 +101,7 @@ tape( 'the function returns `NaN` if provided a value less than `0`', function t
101101
var i;
102102
for ( i = 0; i < 1e4; i++ ) {
103103
v = -( randu() * 1.0e6 ) - EPS;
104-
t.strictEqual( isnanf( ahaversinf( v ) ), true, 'returns NaN when provided '+v );
104+
t.strictEqual( isnanf( ahaversinf( v ) ), true, 'returns expected value when provided '+v );
105105
}
106106
t.end();
107107
});
@@ -111,7 +111,7 @@ tape( 'the function returns `NaN` if provided a value greater than `1`', functio
111111
var i;
112112
for ( i = 0; i < 1e4; i++ ) {
113113
v = ( randu() * 1.0e6 ) + 1.0 + EPS;
114-
t.strictEqual( isnanf( ahaversinf( v ) ), true, 'returns NaN when provided '+v );
114+
t.strictEqual( isnanf( ahaversinf( v ) ), true, 'returns expected value when provided '+v );
115115
}
116116
t.end();
117117
});

0 commit comments

Comments
 (0)