Skip to content

Commit 13ebe65

Browse files
committed
Auto-generated commit
1 parent 78e4bb5 commit 13ebe65

File tree

7 files changed

+27
-138
lines changed

7 files changed

+27
-138
lines changed

CHANGELOG.md

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

3333
<details>
3434

35+
- [`735605d`](https://github.com/stdlib-js/stdlib/commit/735605dda2b657b5d2e6dee66de28a425d5655f8) - **test:** ensure consistent tests _(by Athan Reines)_
3536
- [`3eea4f7`](https://github.com/stdlib-js/stdlib/commit/3eea4f78d4cfeae6f9dbf10b0c21175a65e5e07b) - **fix:** add missing includes _(by Athan Reines)_
3637
- [`0918c66`](https://github.com/stdlib-js/stdlib/commit/0918c6689d3193257d47a9cf736083e8d8e301e0) - **chore:** fix copyright years _(by Philipp Burckhardt)_
3738
- [`ca13482`](https://github.com/stdlib-js/stdlib/commit/ca1348266c2bb7e78fe6dce4ae48629265d5ebdd) - **feat:** add `math/base/assert/is-negative-integerf` _(by Philipp Burckhardt)_

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,11 @@ For more information on the project, filing bug reports and feature requests, an
248248
249249
---
250250
251+
## License
252+
253+
See [LICENSE][stdlib-license].
254+
255+
251256
## Copyright
252257
253258
Copyright &copy; 2016-2025. The Stdlib [Authors][stdlib-authors].
@@ -294,6 +299,8 @@ Copyright &copy; 2016-2025. The Stdlib [Authors][stdlib-authors].
294299
[esm-readme]: https://github.com/stdlib-js/math-base-assert-is-negative-integerf/blob/esm/README.md
295300
[branches-url]: https://github.com/stdlib-js/math-base-assert-is-negative-integerf/blob/main/branches.md
296301
302+
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/math-base-assert-is-negative-integerf/main/LICENSE
303+
297304
</section>
298305
299306
<!-- /.links -->

dist/index.js

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

dist/main.js

Lines changed: 0 additions & 53 deletions
This file was deleted.

dist/native.js

Lines changed: 0 additions & 51 deletions
This file was deleted.

test/test.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,16 @@ tape( 'the function returns `false` if provided `+infinity`', function test( t )
7474
t.end();
7575
});
7676

77+
tape( 'the function returns `false` if provided `+0`', function test( t ) {
78+
t.equal( isNegativeIntegerf( +0.0 ), false, 'returns expected value' );
79+
t.end();
80+
});
81+
82+
tape( 'the function returns `false` if provided `-0`', function test( t ) {
83+
t.equal( isNegativeIntegerf( -0.0 ), false, 'returns expected value' );
84+
t.end();
85+
});
86+
7787
tape( 'WARNING: the function returns `true` if provided `-infinity`', function test( t ) {
7888
t.equal( isNegativeIntegerf( NINF ), true, 'returns expected value' );
7989
t.end();

test/test.native.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,6 @@ tape( 'the function returns `false` if provided `+infinity`', opts, function tes
8383
t.end();
8484
});
8585

86-
tape( 'WARNING: the function returns `true` if provided `-infinity`', opts, function test( t ) {
87-
t.equal( isNegativeIntegerf( NINF ), true, 'returns expected value' );
88-
t.end();
89-
});
90-
9186
tape( 'the function returns `false` if provided `+0`', opts, function test( t ) {
9287
t.equal( isNegativeIntegerf( +0.0 ), false, 'returns expected value' );
9388
t.end();
@@ -97,3 +92,8 @@ tape( 'the function returns `false` if provided `-0`', opts, function test( t )
9792
t.equal( isNegativeIntegerf( -0.0 ), false, 'returns expected value' );
9893
t.end();
9994
});
95+
96+
tape( 'WARNING: the function returns `true` if provided `-infinity`', opts, function test( t ) {
97+
t.equal( isNegativeIntegerf( NINF ), true, 'returns expected value' );
98+
t.end();
99+
});

0 commit comments

Comments
 (0)