Skip to content

Commit

Permalink
test: use strictEqual checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Jul 24, 2023
1 parent 0e39133 commit 11b2b38
Show file tree
Hide file tree
Showing 210 changed files with 210 additions and 210 deletions.
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/constants/array/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var ns = require( './../lib' );

tape( 'main export is an object', function test( t ) {
t.ok( true, __filename );
t.equal( typeof ns, 'object', 'main export is an object' );
t.strictEqual( typeof ns, 'object', 'main export is an object' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var NUM_BYTES = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof NUM_BYTES, 'number', 'main export is a number' );
t.strictEqual( typeof NUM_BYTES, 'number', 'main export is a number' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/constants/complex128/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var constants = require( './../lib' );

tape( 'main export is an object', function test( t ) {
t.ok( true, __filename );
t.equal( typeof constants, 'object', 'main export is an object' );
t.strictEqual( typeof constants, 'object', 'main export is an object' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var NUM_BYTES = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof NUM_BYTES, 'number', 'main export is a number' );
t.strictEqual( typeof NUM_BYTES, 'number', 'main export is a number' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/constants/complex64/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var constants = require( './../lib' );

tape( 'main export is an object', function test( t ) {
t.ok( true, __filename );
t.equal( typeof constants, 'object', 'main export is an object' );
t.strictEqual( typeof constants, 'object', 'main export is an object' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var FLOAT16_EXPONENT_BIAS = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT16_EXPONENT_BIAS, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT16_EXPONENT_BIAS, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var FLOAT16_MAX_SAFE_INTEGER = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT16_MAX_SAFE_INTEGER, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT16_MAX_SAFE_INTEGER, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var FLOAT16_MAX = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT16_MAX, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT16_MAX, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var FLOAT16_MIN_SAFE_INTEGER = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT16_MIN_SAFE_INTEGER, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT16_MIN_SAFE_INTEGER, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var FLOAT16_NINF = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT16_NINF, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT16_NINF, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var NUM_BYTES = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof NUM_BYTES, 'number', 'main export is a number' );
t.strictEqual( typeof NUM_BYTES, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var FLOAT16_PINF = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT16_PINF, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT16_PINF, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var PRECISION = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof PRECISION, 'number', 'main export is a number' );
t.strictEqual( typeof PRECISION, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var FLOAT16_SMALLEST_NORMAL = require( './../lib' );

tape( 'the main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT16_SMALLEST_NORMAL, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT16_SMALLEST_NORMAL, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var FLOAT16_SMALLEST_SUBNORMAL = require( './../lib' );

tape( 'the main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT16_SMALLEST_SUBNORMAL, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT16_SMALLEST_SUBNORMAL, 'number', 'main export is a number' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/constants/float16/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var constants = require( './../lib' );

tape( 'main export is an object', function test( t ) {
t.ok( true, __filename );
t.equal( typeof constants, 'object', 'main export is an object' );
t.strictEqual( typeof constants, 'object', 'main export is an object' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var FLOAT32_EXPONENT_BIAS = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT32_EXPONENT_BIAS, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT32_EXPONENT_BIAS, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var FLOAT32_MAX_SAFE_INTEGER = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT32_MAX_SAFE_INTEGER, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT32_MAX_SAFE_INTEGER, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var FLOAT32_MAX = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT32_MAX, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT32_MAX, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var FLOAT32_MIN_SAFE_INTEGER = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT32_MIN_SAFE_INTEGER, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT32_MIN_SAFE_INTEGER, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var FLOAT32_NINF = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT32_NINF, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT32_NINF, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var NUM_BYTES = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof NUM_BYTES, 'number', 'main export is a number' );
t.strictEqual( typeof NUM_BYTES, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var FLOAT32_PINF = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT32_PINF, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT32_PINF, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var FLOAT32_PRECISION = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT32_PRECISION, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT32_PRECISION, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var FLOAT32_SMALLEST_NORMAL = require( './../lib' );

tape( 'the main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT32_SMALLEST_NORMAL, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT32_SMALLEST_NORMAL, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var FLOAT32_SMALLEST_SUBNORMAL = require( './../lib' );

tape( 'the main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT32_SMALLEST_SUBNORMAL, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT32_SMALLEST_SUBNORMAL, 'number', 'main export is a number' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/constants/float32/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var constants = require( './../lib' );

tape( 'main export is an object', function test( t ) {
t.ok( true, __filename );
t.equal( typeof constants, 'object', 'main export is an object' );
t.strictEqual( typeof constants, 'object', 'main export is an object' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var APERY = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof APERY, 'number', 'main export is a number' );
t.strictEqual( typeof APERY, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var CATALAN = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof CATALAN, 'number', 'main export is a number' );
t.strictEqual( typeof CATALAN, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var FLOAT64_CBRT_EPSILON = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT64_CBRT_EPSILON, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT64_CBRT_EPSILON, 'number', 'main export is a number' );
t.end();
});

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/constants/float64/e/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var E = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof E, 'number', 'main export is a number' );
t.strictEqual( typeof E, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var FLOAT64_EPSILON = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT64_EPSILON, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT64_EPSILON, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var GAMMA = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof GAMMA, 'number', 'main export is a number' );
t.strictEqual( typeof GAMMA, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var FLOAT64_EXPONENT_BIAS = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT64_EXPONENT_BIAS, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT64_EXPONENT_BIAS, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var FOURTH_PI = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FOURTH_PI, 'number', 'main export is a number' );
t.strictEqual( typeof FOURTH_PI, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var FLOAT64_FOURTH_ROOT_EPS = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof FLOAT64_FOURTH_ROOT_EPS, 'number', 'main export is a number' );
t.strictEqual( typeof FLOAT64_FOURTH_ROOT_EPS, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var A = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof A, 'number', 'main export is a number' );
t.strictEqual( typeof A, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var HALF_LN2 = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof HALF_LN2, 'number', 'main export is a number' );
t.strictEqual( typeof HALF_LN2, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var HALF_PI = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof HALF_PI, 'number', 'main export is a number' );
t.strictEqual( typeof HALF_PI, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var LN_HALF = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof LN_HALF, 'number', 'main export is a number' );
t.strictEqual( typeof LN_HALF, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var LN_PI = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof LN_PI, 'number', 'main export is a number' );
t.strictEqual( typeof LN_PI, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var LN_SQRT_TWO_PI = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof LN_SQRT_TWO_PI, 'number', 'main export is a number' );
t.strictEqual( typeof LN_SQRT_TWO_PI, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var LN10 = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof LN10, 'number', 'main export is a number' );
t.strictEqual( typeof LN10, 'number', 'main export is a number' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var LN_TWO_PI = require( './../lib' );

tape( 'main export is a number', function test( t ) {
t.ok( true, __filename );
t.equal( typeof LN_TWO_PI, 'number', 'main export is a number' );
t.strictEqual( typeof LN_TWO_PI, 'number', 'main export is a number' );
t.end();
});

Expand Down
Loading

0 comments on commit 11b2b38

Please sign in to comment.