Skip to content

Commit 32d6e12

Browse files
committed
Auto-generated commit
1 parent 8055fab commit 32d6e12

3 files changed

Lines changed: 12 additions & 5 deletions

File tree

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-06-16)
7+
## Unreleased (2025-06-28)
88

99
<section class="features">
1010

@@ -34,6 +34,7 @@ This release closes the following issue:
3434

3535
<details>
3636

37+
- [`6aeb7d0`](https://github.com/stdlib-js/stdlib/commit/6aeb7d0058535c3e7cacb2a66eed69e6806af479) - **test:** pass in opts to skip if addon is not available _(by Philipp Burckhardt)_
3738
- [`3d16892`](https://github.com/stdlib-js/stdlib/commit/3d168921b5a5a81732a2cd9087a41dbfe25754cb) - **docs:** update related packages sections [(#7369)](https://github.com/stdlib-js/stdlib/pull/7369) _(by stdlib-bot)_
3839
- [`7042a3e`](https://github.com/stdlib-js/stdlib/commit/7042a3e7b52b18fbdf77404ca63945cc0a710710) - **feat:** add C implementation for `stats/base/dists/rayleigh/stdev` [(#4314)](https://github.com/stdlib-js/stdlib/pull/4314) _(by Dhruv Arvind Singh, Philipp Burckhardt, stdlib-bot)_
3940

CONTRIBUTORS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Bryan Elee <rxbryn@gmail.com>
3737
Chinmay Joshi <86140365+JawHawk@users.noreply.github.com>
3838
Christopher Dambamuromo <chridam@gmail.com>
3939
Dan Rose <danoftheroses@gmail.com>
40+
Daniel Hernandez Gomez <156333015+dhernandeez13@users.noreply.github.com>
4041
Daniel Killenberger <daniel.killenberger@gmail.com>
4142
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
4243
Debashis Maharana <debashismaharana7854@gmail.com>
@@ -63,6 +64,7 @@ Girish Garg <garggirish2020@gmail.com>
6364
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
6465
Gunj Joshi <gunjjoshi8372@gmail.com>
6566
Gururaj Gurram <gururajgurram1512@gmail.com>
67+
Harishchandra Reddy <harish.7000@gmail.com>
6668
Haroon Rasheed <51189276+haroon26@users.noreply.github.com>
6769
Harsh <harshyadav6078@gmail.com>
6870
HarshaNP <96897754+GittyHarsha@users.noreply.github.com>
@@ -201,6 +203,7 @@ ditsu <170345142+ditsus@users.noreply.github.com>
201203
ekambains <bainsinbusiness@gmail.com>
202204
fadiothman22 <48636283+fadiothman22@users.noreply.github.com>
203205
iraandrushko <71790513+iraandrushko@users.noreply.github.com>
206+
jsai28 <54253219+jsai28@users.noreply.github.com>
204207
lohithganni <116790357+lohithganni@users.noreply.github.com>
205208
olenkabilonizhka <62379231+olenkabilonizhka@users.noreply.github.com>
206209
pranav-1720 <123018993+pranav-1720@users.noreply.github.com>

test/test.native.js

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

3939
var stdev = tryRequire( resolve( __dirname, './../lib/native.js' ) );
40+
var opts = {
41+
'skip': ( stdev instanceof Error )
42+
};
4043

4144

4245
// TESTS //
4346

44-
tape( 'main export is a function', function test( t ) {
47+
tape( 'main export is a function', opts, function test( t ) {
4548
t.ok( true, __filename );
4649
t.strictEqual( typeof stdev, 'function', 'main export is a function' );
4750
t.end();
4851
});
4952

50-
tape( 'if provided `NaN` for `sigma`, the function returns `NaN`', function test( t ) {
53+
tape( 'if provided `NaN` for `sigma`, the function returns `NaN`', opts, function test( t ) {
5154
var sigma = stdev( NaN );
5255
t.equal( isnan( sigma ), true, 'returns NaN' );
5356
t.end();
5457
});
5558

56-
tape( 'if provided a scale `sigma` that is not a nonnegative number, the function returns `NaN`', function test( t ) {
59+
tape( 'if provided a scale `sigma` that is not a nonnegative number, the function returns `NaN`', opts, function test( t ) {
5760
var sigma;
5861

5962
sigma = stdev( -1.0 );
@@ -65,7 +68,7 @@ tape( 'if provided a scale `sigma` that is not a nonnegative number, the functio
6568
t.end();
6669
});
6770

68-
tape( 'the function returns the standard deviation of a Rayleigh distribution', function test( t ) {
71+
tape( 'the function returns the standard deviation of a Rayleigh distribution', opts, function test( t ) {
6972
var expected;
7073
var delta;
7174
var sigma;

0 commit comments

Comments
 (0)