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 Sep 9, 2024
1 parent 8963b98 commit f8bf9d6
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ A total of 3 people contributed to this release. Thank you to the following cont

<details>

- [`73a198b`](https://github.com/stdlib-js/stdlib/commit/73a198b42551ce9aaa142a17e9c77578205628d5) - **test:** add tests _(by Athan Reines)_
- [`4a14f03`](https://github.com/stdlib-js/stdlib/commit/4a14f034cc432c477ce41d452ea220803b45525c) - **test:** add tests _(by Athan Reines)_
- [`6bbe26f`](https://github.com/stdlib-js/stdlib/commit/6bbe26f751894cadb15279ceb6cf739475bb0612) - **test:** fix descriptions _(by Athan Reines)_
- [`81b39fe`](https://github.com/stdlib-js/stdlib/commit/81b39fec06b8575149b2ab1b834a7577e6ac5e5d) - **feat:** add `hasEqualValuesIndexed` to namespace _(by Athan Reines)_
- [`036794c`](https://github.com/stdlib-js/stdlib/commit/036794c19bd65d13a60c098a5423cf12e1be5d12) - **feat:** add `array/base/assert/has-equal-values-indexed` _(by Athan Reines)_
Expand Down
20 changes: 20 additions & 0 deletions base/assert/has-equal-values/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,16 @@ tape( 'if provided empty collections, the function returns `true` (mixed)', func
out = hasEqualValues( x, y );
t.strictEqual( out, true, 'returns expected value' );

x = new BooleanArray( [] );
y = [];
out = hasEqualValues( x, y );
t.strictEqual( out, true, 'returns expected value' );

x = [];
y = new BooleanArray( [] );
out = hasEqualValues( x, y );
t.strictEqual( out, true, 'returns expected value' );

t.end();
});

Expand Down Expand Up @@ -221,6 +231,16 @@ tape( 'the function returns `true` if both arrays have equal values (mixed)', fu
out = hasEqualValues( x, y );
t.strictEqual( out, true, 'returns expected value' );

x = new BooleanArray( [ true, false, true ] );
y = [ true, false, true ];
out = hasEqualValues( x, y );
t.strictEqual( out, true, 'returns expected value' );

x = [ true, false, true ];
y = new BooleanArray( [ true, false, true ] );
out = hasEqualValues( x, y );
t.strictEqual( out, true, 'returns expected value' );

t.end();
});

Expand Down
20 changes: 20 additions & 0 deletions base/assert/has-same-values/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,16 @@ tape( 'if provided empty collections, the function returns `true` (mixed)', func
out = hasSameValues( x, y );
t.strictEqual( out, true, 'returns expected value' );

x = new BooleanArray( [] );
y = [];
out = hasSameValues( x, y );
t.strictEqual( out, true, 'returns expected value' );

x = [];
y = new BooleanArray( [] );
out = hasSameValues( x, y );
t.strictEqual( out, true, 'returns expected value' );

t.end();
});

Expand Down Expand Up @@ -221,6 +231,16 @@ tape( 'the function returns `true` if both arrays have the same values (mixed)',
out = hasSameValues( x, y );
t.strictEqual( out, true, 'returns expected value' );

x = new BooleanArray( [ true, false, true ] );
y = [ true, false, true ];
out = hasSameValues( x, y );
t.strictEqual( out, true, 'returns expected value' );

x = [ true, false, true ];
y = new BooleanArray( [ true, false, true ] );
out = hasSameValues( x, y );
t.strictEqual( out, true, 'returns expected value' );

t.end();
});

Expand Down

0 comments on commit f8bf9d6

Please sign in to comment.