Skip to content

Commit d59cd86

Browse files
committed
Auto-generated commit
1 parent f81c2d0 commit d59cd86

File tree

8 files changed

+177
-22
lines changed

8 files changed

+177
-22
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<details>
1414

15+
- [`630ddb7`](https://github.com/stdlib-js/stdlib/commit/630ddb777824b5f6e501fda6dadf4ce41dccb964) - **test:** replace equal with strictEqual _(by Karan Anand)_
1516
- [`57efa3d`](https://github.com/stdlib-js/stdlib/commit/57efa3d9de9c4c2f0a94387079e356dad7649a40) - **chore:** rename C files to follow current project conventions [(#6410)](https://github.com/stdlib-js/stdlib/pull/6410) _(by Karan Anand, stdlib-bot)_
1617
- [`62364f6`](https://github.com/stdlib-js/stdlib/commit/62364f62ea823a3b52c2ad25660ecd80c71f8f36) - **style:** fix C comment alignment _(by Philipp Burckhardt)_
1718

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,6 @@ For more information on the project, filing bug reports and feature requests, an
250250
251251
---
252252
253-
## License
254-
255-
See [LICENSE][stdlib-license].
256-
257-
258253
## Copyright
259254
260255
Copyright &copy; 2016-2025. The Stdlib [Authors][stdlib-authors].
@@ -301,8 +296,6 @@ Copyright &copy; 2016-2025. The Stdlib [Authors][stdlib-authors].
301296
[esm-readme]: https://github.com/stdlib-js/math-base-special-kronecker-deltaf/blob/esm/README.md
302297
[branches-url]: https://github.com/stdlib-js/math-base-special-kronecker-deltaf/blob/main/branches.md
303298
304-
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/math-base-special-kronecker-deltaf/main/LICENSE
305-
306299
[kronecker-delta]: https://en.wikipedia.org/wiki/Kronecker_delta
307300
308301
<!-- <related-links> -->

dist/index.js

Lines changed: 35 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.js

Lines changed: 68 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/native.js

Lines changed: 63 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/test.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ tape( 'the function returns `0` if `i` does not equal `j`', function test( t ) {
5151
x += EPS;
5252
}
5353
v = kroneckerDeltaf( x, y );
54-
t.equal( isPositiveZerof( v ), true, 'returns 0 when provided '+x+' and '+y );
54+
t.strictEqual( isPositiveZerof( v ), true, 'returns 0 when provided '+x+' and '+y );
5555
}
5656
t.end();
5757
});
@@ -71,7 +71,7 @@ tape( 'the function returns `1` if `i` equals `j`', function test( t ) {
7171
];
7272
for ( i = 0; i < values.length; i++ ) {
7373
v = kroneckerDeltaf( values[ i ], values[ i ] );
74-
t.equal( v, 1.0, 'returns 1 when provided '+values[i]+' and '+values[i] );
74+
t.strictEqual( v, 1.0, 'returns 1 when provided '+values[i]+' and '+values[i] );
7575
}
7676
t.end();
7777
});
@@ -80,13 +80,13 @@ tape( 'the function returns `NaN` if provided a `NaN`', function test( t ) {
8080
var v;
8181

8282
v = kroneckerDeltaf( NaN, 0.0 );
83-
t.equal( isnanf( v ), true, 'returns NaN' );
83+
t.strictEqual( isnanf( v ), true, 'returns NaN' );
8484

8585
v = kroneckerDeltaf( 0.0, NaN );
86-
t.equal( isnanf( v ), true, 'returns NaN' );
86+
t.strictEqual( isnanf( v ), true, 'returns NaN' );
8787

8888
v = kroneckerDeltaf( NaN, NaN );
89-
t.equal( isnanf( v ), true, 'returns NaN' );
89+
t.strictEqual( isnanf( v ), true, 'returns NaN' );
9090

9191
t.end();
9292
});

test/test.native.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ tape( 'the function returns `0` if `i` does not equal `j`', opts, function test(
6060
x += EPS;
6161
}
6262
v = kroneckerDeltaf( x, y );
63-
t.equal( isPositiveZerof( v ), true, 'returns 0 when provided '+x+' and '+y );
63+
t.strictEqual( isPositiveZerof( v ), true, 'returns 0 when provided '+x+' and '+y );
6464
}
6565
t.end();
6666
});
@@ -80,7 +80,7 @@ tape( 'the function returns `1` if `i` equals `j`', opts, function test( t ) {
8080
];
8181
for ( i = 0; i < values.length; i++ ) {
8282
v = kroneckerDeltaf( values[ i ], values[ i ] );
83-
t.equal( v, 1.0, 'returns 1 when provided '+values[i]+' and '+values[i] );
83+
t.strictEqual( v, 1.0, 'returns 1 when provided '+values[i]+' and '+values[i] );
8484
}
8585
t.end();
8686
});
@@ -89,13 +89,13 @@ tape( 'the function returns `NaN` if provided a `NaN`', opts, function test( t )
8989
var v;
9090

9191
v = kroneckerDeltaf( NaN, 0.0 );
92-
t.equal( isnanf( v ), true, 'returns NaN' );
92+
t.strictEqual( isnanf( v ), true, 'returns NaN' );
9393

9494
v = kroneckerDeltaf( 0.0, NaN );
95-
t.equal( isnanf( v ), true, 'returns NaN' );
95+
t.strictEqual( isnanf( v ), true, 'returns NaN' );
9696

9797
v = kroneckerDeltaf( NaN, NaN );
98-
t.equal( isnanf( v ), true, 'returns NaN' );
98+
t.strictEqual( isnanf( v ), true, 'returns NaN' );
9999

100100
t.end();
101101
});

0 commit comments

Comments
 (0)