From 271f7e02e8d3f900af17619f3ed0c311c81fdc36 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Sat, 24 Feb 2024 00:46:00 +0000 Subject: [PATCH] Auto-generated commit --- is-nonnegative-finite/test/test.object.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/is-nonnegative-finite/test/test.object.js b/is-nonnegative-finite/test/test.object.js index c1853bb6..04634f55 100644 --- a/is-nonnegative-finite/test/test.object.js +++ b/is-nonnegative-finite/test/test.object.js @@ -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;