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 Dec 23, 2024
1 parent 644aa21 commit 788c5d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<section class="release" id="unreleased">

## Unreleased (2024-12-21)
## Unreleased (2024-12-23)

<section class="features">

Expand Down Expand Up @@ -34,6 +34,7 @@ This release closes the following issue:

<details>

- [`603c766`](https://github.com/stdlib-js/stdlib/commit/603c76686fc8de480628e5b96efd9733b1f059b5) - **test:** only conditionally run tests _(by Philipp Burckhardt)_
- [`b884459`](https://github.com/stdlib-js/stdlib/commit/b8844596b7f57a356ff38333c0c5da9b63401874) - **feat:** add C implementation for `stats/base/dists/triangular/mean` [(#4006)](https://github.com/stdlib-js/stdlib/pull/4006) _(by Prashant Kumar Yadav, Philipp Burckhardt)_

</details>
Expand Down
6 changes: 3 additions & 3 deletions test/test.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ var opts = {

// TESTS //

tape( 'main export is a function', function test( t ) {
tape( 'main export is a function', opts, function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof mean, 'function', 'main export is a function' );
t.end();
});

tape( 'if provided `NaN` for any parameter, the function returns `NaN`', function test( t ) {
tape( 'if provided `NaN` for any parameter, the function returns `NaN`', opts, function test( t ) {
var v = mean( NaN, 1.0, 0.5 );
t.equal( isnan( v ), true, 'returns NaN' );

Expand All @@ -62,7 +62,7 @@ tape( 'if provided `NaN` for any parameter, the function returns `NaN`', functio
t.end();
});

tape( 'if provided parameters not satisfying `a <= c <= b`, the function returns `NaN`', function test( t ) {
tape( 'if provided parameters not satisfying `a <= c <= b`, the function returns `NaN`', opts, function test( t ) {
var y;

y = mean( -1.0, -1.1, -1.0 );
Expand Down

0 comments on commit 788c5d5

Please sign in to comment.