Skip to content

Commit a8df57e

Browse files
committed
Auto-generated commit
1 parent 801d9d5 commit a8df57e

File tree

2 files changed

+0
-53
lines changed

2 files changed

+0
-53
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,6 @@ A total of 44 issues were closed in this release:
774774

775775
<details>
776776

777-
- [`93406df`](https://github.com/stdlib-js/stdlib/commit/93406df6ffbb6494062605352b7df9c05694c81d) - **test:** add missing tests _(by Athan Reines)_
778777
- [`f91aca6`](https://github.com/stdlib-js/stdlib/commit/f91aca6650536cb46c7b4c41bd05a2a37e0fe475) - **feat:** add `maybeBroadcastArrayExceptDimensions` to namespace _(by Athan Reines)_
779778
- [`5324e96`](https://github.com/stdlib-js/stdlib/commit/5324e9618a4b8688b4792ccceb146b348d9a9f2f) - **feat:** add `ndarray/base/maybe-broadcast-array-except-dimensions` [(#10413)](https://github.com/stdlib-js/stdlib/pull/10413) _(by Muhammad Haris, Athan Reines)_
780779
- [`f10a6aa`](https://github.com/stdlib-js/stdlib/commit/f10a6aaf98c37bb630ac75e1a50dd0bd4a0eb417) - **fix:** ensure unique indices _(by Athan Reines)_

base/broadcast-array-except-dimensions/test/test.js

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -123,58 +123,6 @@ tape( 'the function throws an error if provided a desired shape and an input arr
123123
}
124124
});
125125

126-
tape( 'the function throws an error if provided duplicate dimensions', function test( t ) {
127-
var values;
128-
var x;
129-
var i;
130-
131-
x = array({
132-
'shape': [ 2, 10, 10 ]
133-
});
134-
135-
values = [
136-
[ -3, -3 ],
137-
[ -2, -2 ],
138-
[ -1, -1 ]
139-
];
140-
for ( i = 0; i < values.length; i++ ) {
141-
t.throws( badValue( values[ i ] ), Error, 'throws an error when provided ['+values[ i ].join( ',')+']' );
142-
}
143-
t.end();
144-
145-
function badValue( value ) {
146-
return function badValue() {
147-
broadcastArrayExceptDimensions( x, [ 2, 10, 10 ], value );
148-
};
149-
}
150-
});
151-
152-
tape( 'the function throws an error if provided out-of-bounds dimensions', function test( t ) {
153-
var values;
154-
var x;
155-
var i;
156-
157-
x = array({
158-
'shape': [ 2, 10, 10 ]
159-
});
160-
161-
values = [
162-
[ -4 ],
163-
[ -5 ],
164-
[ -6 ]
165-
];
166-
for ( i = 0; i < values.length; i++ ) {
167-
t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ['+values[ i ].join( ',')+']' );
168-
}
169-
t.end();
170-
171-
function badValue( value ) {
172-
return function badValue() {
173-
broadcastArrayExceptDimensions( x, [ 2, 10, 10 ], value );
174-
};
175-
}
176-
});
177-
178126
tape( 'the function returns a "base" ndarray instance', function test( t ) {
179127
var x;
180128
var y;

0 commit comments

Comments
 (0)