@@ -75,7 +75,7 @@ tape( 'the function evaluates the complementary error function for `x` on the in
7575 for ( i = 0 ; i < x . length ; i ++ ) {
7676 y = erfc ( x [ i ] ) ;
7777 if ( y === expected [ i ] ) {
78- t . equal ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
78+ t . strictEqual ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
7979 } else {
8080 delta = abs ( y - expected [ i ] ) ;
8181 tol = EPS * abs ( expected [ i ] ) ;
@@ -98,7 +98,7 @@ tape( 'the function evaluates the complementary error function for `x` on the in
9898 for ( i = 0 ; i < x . length ; i ++ ) {
9999 y = erfc ( x [ i ] ) ;
100100 if ( y === expected [ i ] ) {
101- t . equal ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
101+ t . strictEqual ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
102102 } else {
103103 delta = abs ( y - expected [ i ] ) ;
104104 tol = EPS * abs ( expected [ i ] ) ;
@@ -121,7 +121,7 @@ tape( 'the function evaluates the complementary error function for `x` on the in
121121 for ( i = 0 ; i < x . length ; i ++ ) {
122122 y = erfc ( x [ i ] ) ;
123123 if ( y === expected [ i ] ) {
124- t . equal ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
124+ t . strictEqual ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
125125 } else {
126126 delta = abs ( y - expected [ i ] ) ;
127127 tol = EPS * abs ( expected [ i ] ) ;
@@ -144,7 +144,7 @@ tape( 'the function evaluates the complementary error function for `x` on the in
144144 for ( i = 0 ; i < x . length ; i ++ ) {
145145 y = erfc ( x [ i ] ) ;
146146 if ( y === expected [ i ] ) {
147- t . equal ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
147+ t . strictEqual ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
148148 } else {
149149 delta = abs ( y - expected [ i ] ) ;
150150 tol = EPS * abs ( expected [ i ] ) ;
@@ -167,7 +167,7 @@ tape( 'the function evaluates the complementary error function for `x` on the in
167167 for ( i = 0 ; i < x . length ; i ++ ) {
168168 y = erfc ( x [ i ] ) ;
169169 if ( y === expected [ i ] ) {
170- t . equal ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
170+ t . strictEqual ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
171171 } else {
172172 delta = abs ( y - expected [ i ] ) ;
173173 tol = EPS * abs ( expected [ i ] ) ;
@@ -190,7 +190,7 @@ tape( 'the function evaluates the complementary error function for `x` on the in
190190 for ( i = 0 ; i < x . length ; i ++ ) {
191191 y = erfc ( x [ i ] ) ;
192192 if ( y === expected [ i ] ) {
193- t . equal ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
193+ t . strictEqual ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
194194 } else {
195195 delta = abs ( y - expected [ i ] ) ;
196196 tol = EPS * abs ( expected [ i ] ) ;
@@ -213,7 +213,7 @@ tape( 'the function evaluates the complementary error function for `x` on the in
213213 for ( i = 0 ; i < x . length ; i ++ ) {
214214 y = erfc ( x [ i ] ) ;
215215 if ( y === expected [ i ] ) {
216- t . equal ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
216+ t . strictEqual ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
217217 } else {
218218 delta = abs ( y - expected [ i ] ) ;
219219 tol = EPS * abs ( expected [ i ] ) ;
@@ -233,7 +233,7 @@ tape( 'the function evaluates the complementary error function for `x` on the in
233233 x = smallPositive . x ;
234234 for ( i = 0 ; i < x . length ; i ++ ) {
235235 y = erfc ( x [ i ] ) ;
236- t . equal ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
236+ t . strictEqual ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
237237 }
238238 t . end ( ) ;
239239} ) ;
@@ -248,7 +248,7 @@ tape( 'the function evaluates the complementary error function for `x` on the in
248248 x = smaller . x ;
249249 for ( i = 0 ; i < x . length ; i ++ ) {
250250 y = erfc ( x [ i ] ) ;
251- t . equal ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
251+ t . strictEqual ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
252252 }
253253 t . end ( ) ;
254254} ) ;
@@ -263,7 +263,7 @@ tape( 'the function evaluates the complementary error function for `x` on the in
263263 x = tinyNegative . x ;
264264 for ( i = 0 ; i < x . length ; i ++ ) {
265265 y = erfc ( x [ i ] ) ;
266- t . equal ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
266+ t . strictEqual ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
267267 }
268268 t . end ( ) ;
269269} ) ;
@@ -278,7 +278,7 @@ tape( 'the function evaluates the complementary error function for `x` on the in
278278 x = tinyPositive . x ;
279279 for ( i = 0 ; i < x . length ; i ++ ) {
280280 y = erfc ( x [ i ] ) ;
281- t . equal ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
281+ t . strictEqual ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
282282 }
283283 t . end ( ) ;
284284} ) ;
@@ -293,37 +293,37 @@ tape( 'the function evaluates the complementary error function for subnormal `x`
293293 x = subnormal . x ;
294294 for ( i = 0 ; i < x . length ; i ++ ) {
295295 y = erfc ( x [ i ] ) ;
296- t . equal ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
296+ t . strictEqual ( y , expected [ i ] , 'x: ' + x [ i ] + ', y: ' + y + ', expected: ' + expected [ i ] ) ;
297297 }
298298 t . end ( ) ;
299299} ) ;
300300
301301tape ( 'if provided `-0`, the function returns `1`' , opts , function test ( t ) {
302302 var y = erfc ( - 0.0 ) ;
303- t . equal ( y , 1.0 , 'returns expected value' ) ;
303+ t . strictEqual ( y , 1.0 , 'returns expected value' ) ;
304304 t . end ( ) ;
305305} ) ;
306306
307307tape ( 'if provided `+0`, the function returns `1`' , opts , function test ( t ) {
308308 var y = erfc ( + 0.0 ) ;
309- t . equal ( y , 1.0 , 'returns expected value' ) ;
309+ t . strictEqual ( y , 1.0 , 'returns expected value' ) ;
310310 t . end ( ) ;
311311} ) ;
312312
313313tape ( 'if provided `-infinity`, the function returns `2`' , opts , function test ( t ) {
314314 var y = erfc ( NINF ) ;
315- t . equal ( y , 2.0 , 'returns expected value' ) ;
315+ t . strictEqual ( y , 2.0 , 'returns expected value' ) ;
316316 t . end ( ) ;
317317} ) ;
318318
319319tape ( 'if provided `+infinity`, the function returns `0`' , opts , function test ( t ) {
320320 var y = erfc ( PINF ) ;
321- t . equal ( y , 0.0 , 'returns expected value' ) ;
321+ t . strictEqual ( y , 0.0 , 'returns expected value' ) ;
322322 t . end ( ) ;
323323} ) ;
324324
325325tape ( 'if provided `NaN`, the function returns `NaN`' , opts , function test ( t ) {
326326 var y = erfc ( NaN ) ;
327- t . equal ( isnan ( y ) , true , 'returns expected value' ) ;
327+ t . strictEqual ( isnan ( y ) , true , 'returns expected value' ) ;
328328 t . end ( ) ;
329329} ) ;
0 commit comments