@@ -335,7 +335,7 @@ tape( 'the function computes the cumulative minimum value over elements in an nd
335335 expected = [ - 1.0 , - 1.0 , - 3.0 , - 3.0 ] ;
336336
337337 t . strictEqual ( isndarrayLike ( actual ) , true , 'returns expected value' ) ;
338- t . strictEqual ( getDType ( actual ) , 'generic' , 'returns expected value' ) ;
338+ t . strictEqual ( String ( getDType ( actual ) ) , 'generic' , 'returns expected value' ) ;
339339 t . deepEqual ( getShape ( actual ) , getShape ( x ) , 'returns expected value' ) ;
340340 t . strictEqual ( getOrder ( actual ) , getOrder ( x ) , 'returns expected value' ) ;
341341 t . strictEqual ( isSameArray ( getData ( actual ) , expected ) , true , 'returns expected value' ) ;
@@ -356,7 +356,7 @@ tape( 'the function computes the cumulative minimum value over elements in an nd
356356 expected = [ - 1.0 , - 1.0 , - 3.0 , - 3.0 ] ;
357357
358358 t . strictEqual ( isndarrayLike ( actual ) , true , 'returns expected value' ) ;
359- t . strictEqual ( getDType ( actual ) , 'generic' , 'returns expected value' ) ;
359+ t . strictEqual ( String ( getDType ( actual ) ) , 'generic' , 'returns expected value' ) ;
360360 t . deepEqual ( getShape ( actual ) , getShape ( x ) , 'returns expected value' ) ;
361361 t . strictEqual ( getOrder ( actual ) , getOrder ( x ) , 'returns expected value' ) ;
362362 t . strictEqual ( isSameArray ( getData ( actual ) , expected ) , true , 'returns expected value' ) ;
@@ -379,7 +379,7 @@ tape( 'the function computes the cumulative minimum value over elements in an nd
379379 expected = [ - 1.0 , - 1.0 , - 3.0 , - 3.0 ] ;
380380
381381 t . strictEqual ( isndarrayLike ( actual ) , true , 'returns expected value' ) ;
382- t . strictEqual ( getDType ( actual ) , 'generic' , 'returns expected value' ) ;
382+ t . strictEqual ( String ( getDType ( actual ) ) , 'generic' , 'returns expected value' ) ;
383383 t . deepEqual ( getShape ( actual ) , getShape ( x ) , 'returns expected value' ) ;
384384 t . strictEqual ( getOrder ( actual ) , getOrder ( x ) , 'returns expected value' ) ;
385385 t . strictEqual ( isSameArray ( getData ( actual ) , expected ) , true , 'returns expected value' ) ;
@@ -402,7 +402,7 @@ tape( 'the function computes the cumulative minimum value over elements in an nd
402402 expected = [ - 1.0 , - 1.0 , - 3.0 , - 3.0 ] ;
403403
404404 t . strictEqual ( isndarrayLike ( actual ) , true , 'returns expected value' ) ;
405- t . strictEqual ( getDType ( actual ) , 'generic' , 'returns expected value' ) ;
405+ t . strictEqual ( String ( getDType ( actual ) ) , 'generic' , 'returns expected value' ) ;
406406 t . deepEqual ( getShape ( actual ) , getShape ( x ) , 'returns expected value' ) ;
407407 t . strictEqual ( getOrder ( actual ) , getOrder ( x ) , 'returns expected value' ) ;
408408 t . strictEqual ( isSameArray ( getData ( actual ) , expected ) , true , 'returns expected value' ) ;
@@ -425,7 +425,7 @@ tape( 'the function computes the cumulative minimum value over elements in an nd
425425 expected = [ [ - 1.0 , 2.0 ] , [ - 3.0 , 4.0 ] ] ;
426426
427427 t . strictEqual ( isndarrayLike ( actual ) , true , 'returns expected value' ) ;
428- t . strictEqual ( getDType ( actual ) , 'generic' , 'returns expected value' ) ;
428+ t . strictEqual ( String ( getDType ( actual ) ) , 'generic' , 'returns expected value' ) ;
429429 t . deepEqual ( getShape ( actual ) , getShape ( x ) , 'returns expected value' ) ;
430430 t . strictEqual ( getOrder ( actual ) , getOrder ( x ) , 'returns expected value' ) ;
431431 t . deepEqual ( ndarray2array ( actual ) , expected , 'returns expected value' ) ;
@@ -448,7 +448,7 @@ tape( 'the function computes the cumulative minimum value over elements in an nd
448448 expected = [ [ - 1.0 , - 3.0 ] , [ 2.0 , 4.0 ] ] ;
449449
450450 t . strictEqual ( isndarrayLike ( actual ) , true , 'returns expected value' ) ;
451- t . strictEqual ( getDType ( actual ) , 'generic' , 'returns expected value' ) ;
451+ t . strictEqual ( String ( getDType ( actual ) ) , 'generic' , 'returns expected value' ) ;
452452 t . deepEqual ( getShape ( actual ) , getShape ( x ) , 'returns expected value' ) ;
453453 t . strictEqual ( getOrder ( actual ) , getOrder ( x ) , 'returns expected value' ) ;
454454 t . deepEqual ( ndarray2array ( actual ) , expected , 'returns expected value' ) ;
@@ -471,7 +471,7 @@ tape( 'the function supports specifying operation dimensions (row-major)', funct
471471 expected = [ [ - 1.0 , 2.0 ] , [ - 3.0 , 2.0 ] ] ;
472472
473473 t . strictEqual ( isndarrayLike ( actual ) , true , 'returns expected value' ) ;
474- t . strictEqual ( getDType ( actual ) , 'generic' , 'returns expected value' ) ;
474+ t . strictEqual ( String ( getDType ( actual ) ) , 'generic' , 'returns expected value' ) ;
475475 t . deepEqual ( getShape ( actual ) , getShape ( x ) , 'returns expected value' ) ;
476476 t . strictEqual ( getOrder ( actual ) , getOrder ( x ) , 'returns expected value' ) ;
477477 t . deepEqual ( ndarray2array ( actual ) , expected , 'returns expected value' ) ;
@@ -485,7 +485,7 @@ tape( 'the function supports specifying operation dimensions (row-major)', funct
485485 expected = [ [ - 1.0 , - 1.0 ] , [ - 3.0 , - 3.0 ] ] ;
486486
487487 t . strictEqual ( isndarrayLike ( actual ) , true , 'returns expected value' ) ;
488- t . strictEqual ( getDType ( actual ) , 'generic' , 'returns expected value' ) ;
488+ t . strictEqual ( String ( getDType ( actual ) ) , 'generic' , 'returns expected value' ) ;
489489 t . deepEqual ( getShape ( actual ) , getShape ( x ) , 'returns expected value' ) ;
490490 t . strictEqual ( getOrder ( actual ) , getOrder ( x ) , 'returns expected value' ) ;
491491 t . deepEqual ( ndarray2array ( actual ) , expected , 'returns expected value' ) ;
@@ -508,7 +508,7 @@ tape( 'the function supports specifying operation dimensions (column-major)', fu
508508 expected = [ [ - 1.0 , - 3.0 ] , [ - 1.0 , - 3.0 ] ] ;
509509
510510 t . strictEqual ( isndarrayLike ( actual ) , true , 'returns expected value' ) ;
511- t . strictEqual ( getDType ( actual ) , 'generic' , 'returns expected value' ) ;
511+ t . strictEqual ( String ( getDType ( actual ) ) , 'generic' , 'returns expected value' ) ;
512512 t . deepEqual ( getShape ( actual ) , getShape ( x ) , 'returns expected value' ) ;
513513 t . strictEqual ( getOrder ( actual ) , getOrder ( x ) , 'returns expected value' ) ;
514514 t . deepEqual ( ndarray2array ( actual ) , expected , 'returns expected value' ) ;
@@ -522,7 +522,7 @@ tape( 'the function supports specifying operation dimensions (column-major)', fu
522522 expected = [ [ - 1.0 , - 3.0 ] , [ 2.0 , 2.0 ] ] ;
523523
524524 t . strictEqual ( isndarrayLike ( actual ) , true , 'returns expected value' ) ;
525- t . strictEqual ( getDType ( actual ) , 'generic' , 'returns expected value' ) ;
525+ t . strictEqual ( String ( getDType ( actual ) ) , 'generic' , 'returns expected value' ) ;
526526 t . deepEqual ( getShape ( actual ) , getShape ( x ) , 'returns expected value' ) ;
527527 t . strictEqual ( getOrder ( actual ) , getOrder ( x ) , 'returns expected value' ) ;
528528 t . deepEqual ( ndarray2array ( actual ) , expected , 'returns expected value' ) ;
@@ -545,7 +545,7 @@ tape( 'the function supports specifying the output array data type', function te
545545 expected = new Float64Array ( [ - 1.0 , - 1.0 , - 3.0 , - 3.0 ] ) ;
546546
547547 t . strictEqual ( isndarrayLike ( actual ) , true , 'returns expected value' ) ;
548- t . strictEqual ( getDType ( actual ) , 'float64' , 'returns expected value' ) ;
548+ t . strictEqual ( String ( getDType ( actual ) ) , 'float64' , 'returns expected value' ) ;
549549 t . deepEqual ( getShape ( actual ) , getShape ( x ) , 'returns expected value' ) ;
550550 t . strictEqual ( getOrder ( actual ) , getOrder ( x ) , 'returns expected value' ) ;
551551 t . strictEqual ( isSameFloat64Array ( getData ( actual ) , expected ) , true , 'returns expected value' ) ;
@@ -559,7 +559,7 @@ tape( 'the function supports specifying the output array data type', function te
559559 expected = new Float64Array ( [ - 1.0 , - 1.0 , - 3.0 , - 3.0 ] ) ;
560560
561561 t . strictEqual ( isndarrayLike ( actual ) , true , 'returns expected value' ) ;
562- t . strictEqual ( getDType ( actual ) , 'float64' , 'returns expected value' ) ;
562+ t . strictEqual ( String ( getDType ( actual ) ) , 'float64' , 'returns expected value' ) ;
563563 t . deepEqual ( getShape ( actual ) , getShape ( x ) , 'returns expected value' ) ;
564564 t . strictEqual ( getOrder ( actual ) , getOrder ( x ) , 'returns expected value' ) ;
565565 t . strictEqual ( isSameFloat64Array ( getData ( actual ) , expected ) , true , 'returns expected value' ) ;
0 commit comments