Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* limitations under the License.
*/

import Float16Array = require( '@stdlib/array/float16' );
import hasEqualValuesIndexed = require( './index' );


Expand All @@ -28,6 +29,7 @@ import hasEqualValuesIndexed = require( './index' );
hasEqualValuesIndexed( x, x ); // $ExpectType boolean
hasEqualValuesIndexed( new Float64Array( x ), new Float64Array( x ) ); // $ExpectType boolean
hasEqualValuesIndexed( new Float32Array( x ), new Float32Array( x ) ); // $ExpectType boolean
hasEqualValuesIndexed( new Float16Array( x ), new Float16Array( x ) ); // $ExpectType boolean
hasEqualValuesIndexed( new Int32Array( x ), new Int32Array( x ) ); // $ExpectType boolean
hasEqualValuesIndexed( new Int16Array( x ), new Int16Array( x ) ); // $ExpectType boolean
hasEqualValuesIndexed( new Int8Array( x ), new Int8Array( x ) ); // $ExpectType boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* limitations under the License.
*/

import Float16Array = require( '@stdlib/array/float16' );
import toAccessorArray = require( '@stdlib/array/base/to-accessor-array' );
import hasEqualValues = require( './index' );

Expand All @@ -29,6 +30,7 @@ import hasEqualValues = require( './index' );
hasEqualValues( x, x ); // $ExpectType boolean
hasEqualValues( new Float64Array( x ), new Float64Array( x ) ); // $ExpectType boolean
hasEqualValues( new Float32Array( x ), new Float32Array( x ) ); // $ExpectType boolean
hasEqualValues( new Float16Array( x ), new Float16Array( x ) ); // $ExpectType boolean
hasEqualValues( new Int32Array( x ), new Int32Array( x ) ); // $ExpectType boolean
hasEqualValues( new Int16Array( x ), new Int16Array( x ) ); // $ExpectType boolean
hasEqualValues( new Int8Array( x ), new Int8Array( x ) ); // $ExpectType boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* limitations under the License.
*/

import Float16Array = require( '@stdlib/array/float16' );
import toAccessorArray = require( '@stdlib/array/base/to-accessor-array' );
import hasSameValues = require( './index' );

Expand All @@ -29,6 +30,7 @@ import hasSameValues = require( './index' );
hasSameValues( x, x ); // $ExpectType boolean
hasSameValues( new Float64Array( x ), new Float64Array( x ) ); // $ExpectType boolean
hasSameValues( new Float32Array( x ), new Float32Array( x ) ); // $ExpectType boolean
hasSameValues( new Float16Array( x ), new Float16Array( x ) ); // $ExpectType boolean
hasSameValues( new Int32Array( x ), new Int32Array( x ) ); // $ExpectType boolean
hasSameValues( new Int16Array( x ), new Int16Array( x ) ); // $ExpectType boolean
hasSameValues( new Int8Array( x ), new Int8Array( x ) ); // $ExpectType boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ bench( pkg, function benchmark( b ) {
'bool',
'complex128',
'complex64',
'float16',
'float32',
'float64',
'generic',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ tape( 'the function returns `false` if not provided a supported array boolean da
// Supported dtypes:
'complex128',
'complex64',
'float16',
'float32',
'float64',
'uint16',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ var Uint16Array = require( '@stdlib/array/uint16' );
var Int32Array = require( '@stdlib/array/int32' );
var Uint32Array = require( '@stdlib/array/uint32' );
var Float32Array = require( '@stdlib/array/float32' );
var Float16Array = require( '@stdlib/array/float16' );
var Float64Array = require( '@stdlib/array/float64' );
var Complex128Array = require( '@stdlib/array/complex128' );
var Complex64Array = require( '@stdlib/array/complex64' );
Expand Down Expand Up @@ -73,6 +74,7 @@ tape( 'the function returns `false` if not provided a BooleanArray', function te
{ 'length': 10 }, // eslint-disable-line object-curly-newline
new Float64Array( 10 ),
new Float32Array( 10 ),
new Float16Array( 10 ),
new Int32Array( 10 ),
new Uint32Array( 10 ),
new Int16Array( 10 ),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ var Uint16Array = require( '@stdlib/array/uint16' );
var Int32Array = require( '@stdlib/array/int32' );
var Uint32Array = require( '@stdlib/array/uint32' );
var Float32Array = require( '@stdlib/array/float32' );
var Float16Array = require( '@stdlib/array/float16' );
var Float64Array = require( '@stdlib/array/float64' );
var Complex128Array = require( '@stdlib/array/complex128' );
var Complex64Array = require( '@stdlib/array/complex64' );
Expand Down Expand Up @@ -72,6 +73,7 @@ tape( 'the function returns `false` if not provided a Complex128Array', function
{ 'length': 10 }, // eslint-disable-line object-curly-newline
new Float64Array( 10 ),
new Float32Array( 10 ),
new Float16Array( 10 ),
new Int32Array( 10 ),
new Uint32Array( 10 ),
new Int16Array( 10 ),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ var Uint16Array = require( '@stdlib/array/uint16' );
var Int32Array = require( '@stdlib/array/int32' );
var Uint32Array = require( '@stdlib/array/uint32' );
var Float32Array = require( '@stdlib/array/float32' );
var Float16Array = require( '@stdlib/array/float16' );
var Float64Array = require( '@stdlib/array/float64' );
var Complex128Array = require( '@stdlib/array/complex128' );
var Complex64Array = require( '@stdlib/array/complex64' );
Expand Down Expand Up @@ -72,6 +73,7 @@ tape( 'the function returns `false` if not provided a Complex64Array', function
{ 'length': 10 }, // eslint-disable-line object-curly-newline
new Float64Array( 10 ),
new Float32Array( 10 ),
new Float16Array( 10 ),
new Int32Array( 10 ),
new Uint32Array( 10 ),
new Int16Array( 10 ),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ bench( pkg, function benchmark( b ) {

values = [
'binary',
'float16',
'float32',
'float64',
'generic',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ tape( 'the function returns `false` if not provided a supported array integer da
// Supported dtypes:
'complex64',
'complex128',
'float16',
'float32',
'float64',
'generic',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ bench( pkg, function benchmark( b ) {

values = [
'binary',
'float16',
'float32',
'float64',
'generic',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ tape( 'the function returns `true` if provided a supported array numeric data ty
values = [
'complex64',
'complex128',
'float16',
'float32',
'float64',
'uint16',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ bench( pkg, function benchmark( b ) {

values = [
'binary',
'float16',
'float32',
'float64',
'generic',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ tape( 'the function returns `true` if provided a supported array real-valued dat
var i;

values = [
'float16',
'float32',
'float64',
'uint16',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ bench( pkg, function benchmark( b ) {

values = [
'binary',
'float16',
'float32',
'float64',
'generic',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ tape( 'the function returns `true` if provided a supported array real-valued flo
var i;

values = [
'float16',
'float32',
'float64'
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ bench( pkg, function benchmark( b ) {

values = [
'binary',
'float16',
'float32',
'float64',
'generic',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ tape( 'the function returns `false` if not provided a supported array signed int
// Supported dtypes:
'complex64',
'complex128',
'float16',
'float32',
'float64',
'generic',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ bench( pkg, function benchmark( b ) {

values = [
'binary',
'float16',
'float32',
'float64',
'generic',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ tape( 'the function returns `false` if not provided a supported array unsigned i
// Supported dtypes:
'complex64',
'complex128',
'float16',
'float32',
'float64',
'generic',
Expand Down
Loading