From 072e30686dcd49aa8f462f0aecc7c0a94d32baaa Mon Sep 17 00:00:00 2001 From: aayush0325 Date: Wed, 13 Nov 2024 22:41:11 +0530 Subject: [PATCH] chore: stuff from code review --- .../math/base/special/cinvf/test/test.native.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/cinvf/test/test.native.js b/lib/node_modules/@stdlib/math/base/special/cinvf/test/test.native.js index daeaa0686c1..c080d1ec234 100644 --- a/lib/node_modules/@stdlib/math/base/special/cinvf/test/test.native.js +++ b/lib/node_modules/@stdlib/math/base/special/cinvf/test/test.native.js @@ -440,16 +440,16 @@ tape( 'if a real or imaginary component is `NaN`, all components are `NaN`', opt var v; v = cinvf( new Complex64( NaN, 3.0 ) ); - t.strictEqual( isnanf( real( v ) ), true, 'returns NaN' ); - t.strictEqual( isnanf( imag( v ) ), true, 'returns NaN' ); + t.strictEqual( isnanf( real( v ) ), true, 'returns expected value' ); + t.strictEqual( isnanf( imag( v ) ), true, 'returns expected value' ); v = cinvf( new Complex64( 5.0, NaN ) ); - t.strictEqual( isnanf( real( v ) ), true, 'returns NaN' ); - t.strictEqual( isnanf( imag( v ) ), true, 'returns NaN' ); + t.strictEqual( isnanf( real( v ) ), true, 'returns expected value' ); + t.strictEqual( isnanf( imag( v ) ), true, 'returns expected value' ); v = cinvf( new Complex64( NaN, NaN ) ); - t.strictEqual( isnanf( real( v ) ), true, 'returns NaN' ); - t.strictEqual( isnanf( imag( v ) ), true, 'returns NaN' ); + t.strictEqual( isnanf( real( v ) ), true, 'returns expected value' ); + t.strictEqual( isnanf( imag( v ) ), true, 'returns expected value' ); t.end(); });