@@ -510,7 +510,7 @@ tape( 'the function fills an array-like object with values returned from an iter
510
510
actual = iterator2arrayviewRight ( it , out ) ;
511
511
expected = new Float64Array ( [ 4 , 3 , 2 , 1 ] ) ;
512
512
513
- t . equal ( actual , out , 'returns expected value' ) ;
513
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
514
514
t . deepEqual ( actual , expected , 'returns expected value' ) ;
515
515
t . end ( ) ;
516
516
} ) ;
@@ -534,7 +534,7 @@ tape( 'the function fills an array-like object with values returned from an iter
534
534
actual = iterator2arrayviewRight ( it , out ) ;
535
535
expected = new Float64Array ( [ 7.0 , 8.0 , 5.0 , 6.0 , 3.0 , 4.0 , 1.0 , 2.0 ] ) ;
536
536
537
- t . equal ( actual , out , 'returns expected value' ) ;
537
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
538
538
t . deepEqual ( reinterpret128 ( actual , 0 ) , expected , 'returns expected value' ) ;
539
539
t . end ( ) ;
540
540
} ) ;
@@ -553,7 +553,7 @@ tape( 'the function fills an array-like object view with values returned from an
553
553
actual = iterator2arrayviewRight ( it , out , 2 ) ;
554
554
expected = new Float64Array ( [ 0 , 0 , 6 , 5 , 4 , 3 , 2 , 1 ] ) ;
555
555
556
- t . equal ( actual , out , 'returns expected value' ) ;
556
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
557
557
t . deepEqual ( actual , expected , 'returns expected value' ) ;
558
558
t . end ( ) ;
559
559
} ) ;
@@ -572,7 +572,7 @@ tape( 'the function fills an array-like object view with values returned from an
572
572
actual = iterator2arrayviewRight ( it , out , 6 ) ;
573
573
expected = new Float64Array ( [ 0 , 0 , 0 , 0 , 0 , 0 , 2 , 1 ] ) ;
574
574
575
- t . equal ( actual , out , 'returns expected value' ) ;
575
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
576
576
t . deepEqual ( actual , expected , 'returns expected value' ) ;
577
577
t . end ( ) ;
578
578
} ) ;
@@ -591,7 +591,7 @@ tape( 'the function fills an array-like object view with values returned from an
591
591
actual = iterator2arrayviewRight ( it , out , - 6 ) ;
592
592
expected = new Float64Array ( [ 0 , 0 , 6 , 5 , 4 , 3 , 2 , 1 ] ) ;
593
593
594
- t . equal ( actual , out , 'returns expected value' ) ;
594
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
595
595
t . deepEqual ( actual , expected , 'returns expected value' ) ;
596
596
t . end ( ) ;
597
597
} ) ;
@@ -610,7 +610,7 @@ tape( 'the function fills an array-like object view with values returned from an
610
610
actual = iterator2arrayviewRight ( it , out , 2 , 4 ) ;
611
611
expected = new Float64Array ( [ 0 , 0 , 2 , 1 , 0 , 0 , 0 , 0 ] ) ;
612
612
613
- t . equal ( actual , out , 'returns expected value' ) ;
613
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
614
614
t . deepEqual ( actual , expected , 'returns expected value' ) ;
615
615
t . end ( ) ;
616
616
} ) ;
@@ -629,7 +629,7 @@ tape( 'the function fills an array-like object view with values returned from an
629
629
actual = iterator2arrayviewRight ( it , out , 2 , 4000 ) ;
630
630
expected = new Float64Array ( [ 0 , 0 , 6 , 5 , 4 , 3 , 2 , 1 ] ) ;
631
631
632
- t . equal ( actual , out , 'returns expected value' ) ;
632
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
633
633
t . deepEqual ( actual , expected , 'returns expected value' ) ;
634
634
t . end ( ) ;
635
635
} ) ;
@@ -648,7 +648,7 @@ tape( 'the function fills an array-like object view with values returned from an
648
648
actual = iterator2arrayviewRight ( it , out , - 6 , 4 ) ;
649
649
expected = new Float64Array ( [ 0 , 0 , 2 , 1 , 0 , 0 , 0 , 0 ] ) ;
650
650
651
- t . equal ( actual , out , 'returns expected value' ) ;
651
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
652
652
t . deepEqual ( actual , expected , 'returns expected value' ) ;
653
653
t . end ( ) ;
654
654
} ) ;
@@ -667,7 +667,7 @@ tape( 'the function fills an array-like object view with values returned from an
667
667
actual = iterator2arrayviewRight ( it , out , 2 , - 4 ) ;
668
668
expected = new Float64Array ( [ 0 , 0 , 2 , 1 , 0 , 0 , 0 , 0 ] ) ;
669
669
670
- t . equal ( actual , out , 'returns expected value' ) ;
670
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
671
671
t . deepEqual ( actual , expected , 'returns expected value' ) ;
672
672
t . end ( ) ;
673
673
} ) ;
@@ -686,7 +686,7 @@ tape( 'the function fills an array-like object view with values returned from an
686
686
actual = iterator2arrayviewRight ( it , out , - 6 , - 4 ) ;
687
687
expected = new Float64Array ( [ 0 , 0 , 2 , 1 , 0 , 0 , 0 , 0 ] ) ;
688
688
689
- t . equal ( actual , out , 'returns expected value' ) ;
689
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
690
690
t . deepEqual ( actual , expected , 'returns expected value' ) ;
691
691
t . end ( ) ;
692
692
} ) ;
@@ -705,7 +705,7 @@ tape( 'the function fills an array-like object view with values returned from an
705
705
actual = iterator2arrayviewRight ( it , out , - 1000 ) ;
706
706
expected = new Float64Array ( [ 0 , 0 , 0 , 0 , 4 , 3 , 2 , 1 ] ) ;
707
707
708
- t . equal ( actual , out , 'returns expected value' ) ;
708
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
709
709
t . deepEqual ( actual , expected , 'returns expected value' ) ;
710
710
t . end ( ) ;
711
711
} ) ;
@@ -724,7 +724,7 @@ tape( 'the function fills an array-like object view with values returned from an
724
724
actual = iterator2arrayviewRight ( it , out , 0 , - 100 ) ;
725
725
expected = new Float64Array ( [ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ] ) ;
726
726
727
- t . equal ( actual , out , 'returns expected value' ) ;
727
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
728
728
t . deepEqual ( actual , expected , 'returns expected value' ) ;
729
729
t . end ( ) ;
730
730
} ) ;
@@ -743,7 +743,7 @@ tape( 'the function supports providing a callback to be invoked for each iterate
743
743
actual = iterator2arrayviewRight ( it , out , scale ) ;
744
744
expected = new Float64Array ( [ 4 , 6 , 6 , 4 ] ) ;
745
745
746
- t . equal ( actual , out , 'returns expected value' ) ;
746
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
747
747
t . deepEqual ( actual , expected , 'returns expected value' ) ;
748
748
t . end ( ) ;
749
749
@@ -766,7 +766,7 @@ tape( 'the function supports providing a callback to be invoked for each iterate
766
766
actual = iterator2arrayviewRight ( it , out , clbk ) ;
767
767
expected = new Float64Array ( [ 4 , 0 , 3 , 1 , 2 , 2 , 1 , 3 ] ) ;
768
768
769
- t . equal ( actual , out , 'returns expected value' ) ;
769
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
770
770
t . deepEqual ( reinterpret128 ( actual , 0 ) , expected , 'returns expected value' ) ;
771
771
t . end ( ) ;
772
772
@@ -789,7 +789,7 @@ tape( 'the function supports providing a callback to be invoked for each iterate
789
789
actual = iterator2arrayviewRight ( it , out , 2 , scale ) ;
790
790
expected = new Float64Array ( [ 0 , 0 , 36 , 25 , 16 , 9 , 4 , 1 ] ) ;
791
791
792
- t . equal ( actual , out , 'returns expected value' ) ;
792
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
793
793
t . deepEqual ( actual , expected , 'returns expected value' ) ;
794
794
t . end ( ) ;
795
795
@@ -812,7 +812,7 @@ tape( 'the function supports providing a callback to be invoked for each iterate
812
812
actual = iterator2arrayviewRight ( it , out , - 6 , scale ) ;
813
813
expected = new Float64Array ( [ 0 , 0 , 36 , 25 , 16 , 9 , 4 , 1 ] ) ;
814
814
815
- t . equal ( actual , out , 'returns expected value' ) ;
815
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
816
816
t . deepEqual ( actual , expected , 'returns expected value' ) ;
817
817
t . end ( ) ;
818
818
@@ -835,7 +835,7 @@ tape( 'the function supports providing a callback to be invoked for each iterate
835
835
actual = iterator2arrayviewRight ( it , out , 2 , 4 , scale ) ;
836
836
expected = new Float64Array ( [ 0 , 0 , 4 , 1 , 0 , 0 , 0 , 0 ] ) ;
837
837
838
- t . equal ( actual , out , 'returns expected value' ) ;
838
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
839
839
t . deepEqual ( actual , expected , 'returns expected value' ) ;
840
840
t . end ( ) ;
841
841
@@ -858,7 +858,7 @@ tape( 'the function supports providing a callback to be invoked for each iterate
858
858
actual = iterator2arrayviewRight ( it , out , 2 , 4000 , scale ) ;
859
859
expected = new Float64Array ( [ 0 , 0 , 36 , 25 , 16 , 9 , 4 , 1 ] ) ;
860
860
861
- t . equal ( actual , out , 'returns expected value' ) ;
861
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
862
862
t . deepEqual ( actual , expected , 'returns expected value' ) ;
863
863
t . end ( ) ;
864
864
@@ -881,7 +881,7 @@ tape( 'the function supports providing a callback to be invoked for each iterate
881
881
actual = iterator2arrayviewRight ( it , out , - 6 , 4 , scale ) ;
882
882
expected = new Float64Array ( [ 0 , 0 , 4 , 1 , 0 , 0 , 0 , 0 ] ) ;
883
883
884
- t . equal ( actual , out , 'returns expected value' ) ;
884
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
885
885
t . deepEqual ( actual , expected , 'returns expected value' ) ;
886
886
t . end ( ) ;
887
887
@@ -904,7 +904,7 @@ tape( 'the function supports providing a callback to be invoked for each iterate
904
904
actual = iterator2arrayviewRight ( it , out , 2 , - 4 , scale ) ;
905
905
expected = new Float64Array ( [ 0 , 0 , 4 , 1 , 0 , 0 , 0 , 0 ] ) ;
906
906
907
- t . equal ( actual , out , 'returns expected value' ) ;
907
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
908
908
t . deepEqual ( actual , expected , 'returns expected value' ) ;
909
909
t . end ( ) ;
910
910
@@ -927,7 +927,7 @@ tape( 'the function supports providing a callback to be invoked for each iterate
927
927
actual = iterator2arrayviewRight ( it , out , - 6 , - 4 , scale ) ;
928
928
expected = new Float64Array ( [ 0 , 0 , 4 , 1 , 0 , 0 , 0 , 0 ] ) ;
929
929
930
- t . equal ( actual , out , 'returns expected value' ) ;
930
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
931
931
t . deepEqual ( actual , expected , 'returns expected value' ) ;
932
932
t . end ( ) ;
933
933
@@ -950,7 +950,7 @@ tape( 'the function stops filling an array-like object once an iterator ends', f
950
950
actual = iterator2arrayviewRight ( it , out ) ;
951
951
expected = new Float64Array ( [ 0 , 0 , 2 , 1 ] ) ;
952
952
953
- t . equal ( actual , out , 'returns expected value' ) ;
953
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
954
954
t . deepEqual ( actual , expected , 'returns expected value' ) ;
955
955
t . end ( ) ;
956
956
} ) ;
@@ -969,7 +969,7 @@ tape( 'the function stops filling an array-like object once an iterator ends (ca
969
969
actual = iterator2arrayviewRight ( it , out , scale ) ;
970
970
expected = new Float64Array ( [ 0 , 0 , 4 , 1 ] ) ;
971
971
972
- t . equal ( actual , out , 'returns expected value' ) ;
972
+ t . strictEqual ( actual , out , 'returns expected value' ) ;
973
973
t . deepEqual ( actual , expected , 'returns expected value' ) ;
974
974
t . end ( ) ;
975
975
@@ -996,7 +996,7 @@ tape( 'the function supports specifying the evaluation context of a provided cal
996
996
actual = iterator2arrayviewRight ( it , out , scale , ctx ) ;
997
997
expected = new Float64Array ( [ 16 , 9 , 4 , 1 ] ) ;
998
998
999
- t . equal ( ctx . count , 4 , 'returns expected value' ) ;
999
+ t . strictEqual ( ctx . count , 4 , 'returns expected value' ) ;
1000
1000
t . deepEqual ( actual , expected , 'returns expected value' ) ;
1001
1001
t . end ( ) ;
1002
1002
@@ -1024,7 +1024,7 @@ tape( 'the function supports specifying the evaluation context of a provided cal
1024
1024
actual = iterator2arrayviewRight ( it , out , 2 , scale , ctx ) ;
1025
1025
expected = new Float64Array ( [ 0 , 0 , 0 , 0 , 16 , 9 , 4 , 1 ] ) ;
1026
1026
1027
- t . equal ( ctx . count , 4 , 'returns expected value' ) ;
1027
+ t . strictEqual ( ctx . count , 4 , 'returns expected value' ) ;
1028
1028
t . deepEqual ( actual , expected , 'returns expected value' ) ;
1029
1029
t . end ( ) ;
1030
1030
@@ -1052,7 +1052,7 @@ tape( 'the function supports specifying the evaluation context of a provided cal
1052
1052
actual = iterator2arrayviewRight ( it , out , 2 , 4 , scale , ctx ) ;
1053
1053
expected = new Float64Array ( [ 0 , 0 , 4 , 1 , 0 , 0 , 0 , 0 ] ) ;
1054
1054
1055
- t . equal ( ctx . count , 2 , 'returns expected value' ) ;
1055
+ t . strictEqual ( ctx . count , 2 , 'returns expected value' ) ;
1056
1056
t . deepEqual ( actual , expected , 'returns expected value' ) ;
1057
1057
t . end ( ) ;
1058
1058
@@ -1064,25 +1064,25 @@ tape( 'the function supports specifying the evaluation context of a provided cal
1064
1064
1065
1065
tape ( 'the function supports infinite iterators' , function test ( t ) {
1066
1066
var out = iterator2arrayviewRight ( randu ( ) , new Float64Array ( 10 ) ) ;
1067
- t . equal ( out . length , 10 , 'has expected length' ) ;
1067
+ t . strictEqual ( out . length , 10 , 'has expected length' ) ;
1068
1068
t . end ( ) ;
1069
1069
} ) ;
1070
1070
1071
1071
tape ( 'the function supports infinite iterators (begin)' , function test ( t ) {
1072
1072
var out = iterator2arrayviewRight ( randu ( ) , new Float64Array ( 10 ) , 5 ) ;
1073
- t . equal ( out . length , 10 , 'has expected length' ) ;
1073
+ t . strictEqual ( out . length , 10 , 'has expected length' ) ;
1074
1074
t . end ( ) ;
1075
1075
} ) ;
1076
1076
1077
1077
tape ( 'the function supports infinite iterators (begin + end)' , function test ( t ) {
1078
1078
var out = iterator2arrayviewRight ( randu ( ) , new Float64Array ( 10 ) , 2 , 6 ) ;
1079
- t . equal ( out . length , 10 , 'has expected length' ) ;
1079
+ t . strictEqual ( out . length , 10 , 'has expected length' ) ;
1080
1080
t . end ( ) ;
1081
1081
} ) ;
1082
1082
1083
1083
tape ( 'the function supports infinite iterators (callback)' , function test ( t ) {
1084
1084
var out = iterator2arrayviewRight ( randu ( ) , new Float64Array ( 10 ) , scale ) ;
1085
- t . equal ( out . length , 10 , 'has expected length' ) ;
1085
+ t . strictEqual ( out . length , 10 , 'has expected length' ) ;
1086
1086
t . end ( ) ;
1087
1087
1088
1088
function scale ( v , i ) {
@@ -1092,7 +1092,7 @@ tape( 'the function supports infinite iterators (callback)', function test( t )
1092
1092
1093
1093
tape ( 'the function supports infinite iterators (begin + callback)' , function test ( t ) {
1094
1094
var out = iterator2arrayviewRight ( randu ( ) , new Float64Array ( 10 ) , 5 , scale ) ; // eslint-disable-line max-len
1095
- t . equal ( out . length , 10 , 'has expected length' ) ;
1095
+ t . strictEqual ( out . length , 10 , 'has expected length' ) ;
1096
1096
t . end ( ) ;
1097
1097
1098
1098
function scale ( v , i ) {
@@ -1102,7 +1102,7 @@ tape( 'the function supports infinite iterators (begin + callback)', function te
1102
1102
1103
1103
tape ( 'the function supports infinite iterators (begin + end + callback)' , function test ( t ) {
1104
1104
var out = iterator2arrayviewRight ( randu ( ) , new Float64Array ( 10 ) , 2 , 6 , scale ) ; // eslint-disable-line max-len
1105
- t . equal ( out . length , 10 , 'has expected length' ) ;
1105
+ t . strictEqual ( out . length , 10 , 'has expected length' ) ;
1106
1106
t . end ( ) ;
1107
1107
1108
1108
function scale ( v , i ) {
0 commit comments