Skip to content

Commit 2ced9d0

Browse files
committed
Auto-generated commit
1 parent 6cf1869 commit 2ced9d0

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/.keepalive

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

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-05-26)
7+
## Unreleased (2025-05-30)
88

99
<section class="features">
1010

@@ -34,6 +34,7 @@ A total of 3 issues were closed in this release:
3434

3535
<details>
3636

37+
- [`c24ea87`](https://github.com/stdlib-js/stdlib/commit/c24ea877723f2ac751abb70e8d3f38362f846a43) - **test:** add missing skips for native add-on tests _(by Philipp Burckhardt)_
3738
- [`e37cd0e`](https://github.com/stdlib-js/stdlib/commit/e37cd0eba13fa6acb6488f44b710502057d4cfc4) - **feat:** add C implementation for `stats/base/dists/poisson/kurtosis` [(#4032)](https://github.com/stdlib-js/stdlib/pull/4032) _(by Manvith M, Philipp Burckhardt, stdlib-bot)_
3839
- [`bd61ef0`](https://github.com/stdlib-js/stdlib/commit/bd61ef01645b4128484f9a87532724fdba990c03) - **bench:** address commit comments [(#5137)](https://github.com/stdlib-js/stdlib/pull/5137) _(by pranav-1720)_
3940
- [`28b78a0`](https://github.com/stdlib-js/stdlib/commit/28b78a0590907a6757bc6fd4c9e88d9109280950) - **bench:** refactor random number generation in `stats/base/dists/poisson` [(#5106)](https://github.com/stdlib-js/stdlib/pull/5106) _(by pranav-1720)_

test/test.native.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,26 @@ var data = require( './fixtures/julia/data.json' );
3535
// VARIABLES //
3636

3737
var kurtosis = tryRequire( resolve( __dirname, './../lib/native.js' ) );
38+
var opts = {
39+
'skip': ( kurtosis instanceof Error )
40+
};
3841

3942

4043
// TESTS //
4144

42-
tape( 'main export is a function', function test( t ) {
45+
tape( 'main export is a function', opts, function test( t ) {
4346
t.ok( true, __filename );
4447
t.strictEqual( typeof kurtosis, 'function', 'main export is a function' );
4548
t.end();
4649
});
4750

48-
tape( 'if provided `NaN` for `lambda`, the function returns `NaN`', function test( t ) {
51+
tape( 'if provided `NaN` for `lambda`, the function returns `NaN`', opts, function test( t ) {
4952
var v = kurtosis( NaN );
5053
t.equal( isnan( v ), true, 'returns NaN' );
5154
t.end();
5255
});
5356

54-
tape( 'if provided a mean parameter `lambda` that is not a positive number, the function returns `NaN`', function test( t ) {
57+
tape( 'if provided a mean parameter `lambda` that is not a positive number, the function returns `NaN`', opts, function test( t ) {
5558
var v;
5659

5760
v = kurtosis( -1.0 );
@@ -66,7 +69,7 @@ tape( 'if provided a mean parameter `lambda` that is not a positive number, the
6669
t.end();
6770
});
6871

69-
tape( 'the function returns the excess kurtosis of a Poisson distribution', function test( t ) {
72+
tape( 'the function returns the excess kurtosis of a Poisson distribution', opts, function test( t ) {
7073
var expected;
7174
var lambda;
7275
var i;

0 commit comments

Comments
 (0)