Skip to content

Commit 6a9ffa5

Browse files
committed
test: use strictEqual assertion
1 parent 958d9fc commit 6a9ffa5

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

lib/node_modules/@stdlib/math/base/tools/normhermitepoly/test/test.factory.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -471,13 +471,13 @@ tape( 'the function returns a function which returns `1.0` whenever `n` is `0`',
471471
f = factory( 0 );
472472

473473
y = f( -1.0 );
474-
t.equal( y, 1.0, 'returns expected value' );
474+
t.strictEqual( y, 1.0, 'returns expected value' );
475475

476476
y = f( 0.0 );
477-
t.equal( y, 1.0, 'returns expected value' );
477+
t.strictEqual( y, 1.0, 'returns expected value' );
478478

479479
y = f( 1.0 );
480-
t.equal( y, 1.0, 'returns expected value' );
480+
t.strictEqual( y, 1.0, 'returns expected value' );
481481

482482
t.end();
483483
});
@@ -489,7 +489,7 @@ tape( 'the function returns a function which returns `NaN` whenever `n` is `NaN`
489489
f = factory( NaN );
490490

491491
y = f( 0.0 );
492-
t.equal( isnan( y ), true, 'returns expected value' );
492+
t.strictEqual( isnan( y ), true, 'returns expected value' );
493493

494494
t.end();
495495
});
@@ -501,7 +501,7 @@ tape( 'the function returns a function which returns `NaN` when `x` is `NaN`', f
501501
f = factory( 1 );
502502

503503
y = f( NaN );
504-
t.equal( isnan( y ), true, 'returns expected value');
504+
t.strictEqual( isnan( y ), true, 'returns expected value');
505505

506506
t.end();
507507
});
@@ -513,7 +513,7 @@ tape( 'the function returns a function which returns `NaN` when `n` is a negativ
513513
f = factory( -1 );
514514

515515
y = f( 0.0 );
516-
t.equal( isnan( y ), true, 'returns expected value');
516+
t.strictEqual( isnan( y ), true, 'returns expected value');
517517

518518
t.end();
519519
});
@@ -525,7 +525,7 @@ tape( 'the function returns a function which returns `NaN` when `n` is not an in
525525
f = factory( 1.01 );
526526

527527
y = f( 0.0 );
528-
t.equal( isnan( y ), true, 'returns expected value');
528+
t.strictEqual( isnan( y ), true, 'returns expected value');
529529

530530
t.end();
531531
});

lib/node_modules/@stdlib/math/base/tools/normhermitepoly/test/test.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -421,13 +421,13 @@ tape( 'the function returns `1.0` whenever `n` is `0`', function test( t ) {
421421
var y;
422422

423423
y = normhermitepoly( 0, -1.0 );
424-
t.equal( y, 1.0, 'returns expected value.0' );
424+
t.strictEqual( y, 1.0, 'returns expected value.0' );
425425

426426
y = normhermitepoly( 0, 0.0 );
427-
t.equal( y, 1.0, 'returns expected value.0' );
427+
t.strictEqual( y, 1.0, 'returns expected value.0' );
428428

429429
y = normhermitepoly( 0, 1.0 );
430-
t.equal( y, 1.0, 'returns expected value.0' );
430+
t.strictEqual( y, 1.0, 'returns expected value.0' );
431431

432432
t.end();
433433
});
@@ -436,7 +436,7 @@ tape( 'the function returns `NaN` whenever `n` is `NaN`', function test( t ) {
436436
var y;
437437

438438
y = normhermitepoly( NaN, 0.0 );
439-
t.equal( isnan( y ), true, 'returns expected value' );
439+
t.strictEqual( isnan( y ), true, 'returns expected value' );
440440

441441
t.end();
442442
});
@@ -445,7 +445,7 @@ tape( 'the function returns `NaN` when `x` is `NaN`', function test( t ) {
445445
var y;
446446

447447
y = normhermitepoly( 0, NaN );
448-
t.equal( isnan( y ), true, 'returns expected value');
448+
t.strictEqual( isnan( y ), true, 'returns expected value');
449449

450450
t.end();
451451
});
@@ -454,7 +454,7 @@ tape( 'the function returns `NaN` when `n` is a negative integer`', function tes
454454
var y;
455455

456456
y = normhermitepoly( -1, 0.0 );
457-
t.equal( isnan( y ), true, 'returns expected value');
457+
t.strictEqual( isnan( y ), true, 'returns expected value');
458458

459459
t.end();
460460
});
@@ -463,7 +463,7 @@ tape( 'the function returns `NaN` when `n` is not an integer`', function test( t
463463
var y;
464464

465465
y = normhermitepoly( 1.01, 0.0 );
466-
t.equal( isnan( y ), true, 'returns expected value');
466+
t.strictEqual( isnan( y ), true, 'returns expected value');
467467

468468
t.end();
469469
});

0 commit comments

Comments
 (0)