Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Feb 24, 2024
1 parent 8ab06e6 commit 271f7e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions is-nonnegative-finite/test/test.object.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ tape( 'the function returns `false` if provided positive infinity', function tes
t.end();
});

tape( 'the function returns `false` if provided positive infinity', function test( t ) {
t.equal( isNonNegativeFinite( new Number( 1.0/0.0 ) ), false, 'returns false' );
t.end();
});

tape( 'the function returns `false` if not provided a nonnegative number', function test( t ) {
var values;
var i;
Expand Down

0 comments on commit 271f7e0

Please sign in to comment.