@@ -94,7 +94,7 @@ tape( 'the function returns a zero-filled array (dtype=float64, order=row-major)
94
94
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
95
95
t . strictEqual ( instanceOf ( arr . data , Float64Array ) , true , 'returns expected value' ) ;
96
96
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
97
- t . strictEqual ( arr . order , 'row-major' ) ;
97
+ t . strictEqual ( arr . order , 'row-major' , 'returns expected value' ) ;
98
98
99
99
t . end ( ) ;
100
100
} ) ;
@@ -111,7 +111,7 @@ tape( 'the function returns a zero-filled array (dtype=float64, order=column-maj
111
111
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
112
112
t . strictEqual ( instanceOf ( arr . data , Float64Array ) , true , 'returns expected value' ) ;
113
113
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
114
- t . strictEqual ( arr . order , 'column-major' ) ;
114
+ t . strictEqual ( arr . order , 'column-major' , 'returns expected value' ) ;
115
115
116
116
t . end ( ) ;
117
117
} ) ;
@@ -128,7 +128,7 @@ tape( 'the function returns a zero-filled array (dtype=float32, order=row-major)
128
128
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
129
129
t . strictEqual ( instanceOf ( arr . data , Float32Array ) , true , 'returns expected value' ) ;
130
130
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
131
- t . strictEqual ( arr . order , 'row-major' ) ;
131
+ t . strictEqual ( arr . order , 'row-major' , 'returns expected value' ) ;
132
132
133
133
t . end ( ) ;
134
134
} ) ;
@@ -145,7 +145,7 @@ tape( 'the function returns a zero-filled array (dtype=float32, order=column-maj
145
145
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
146
146
t . strictEqual ( instanceOf ( arr . data , Float32Array ) , true , 'returns expected value' ) ;
147
147
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
148
- t . strictEqual ( arr . order , 'column-major' ) ;
148
+ t . strictEqual ( arr . order , 'column-major' , 'returns expected value' ) ;
149
149
150
150
t . end ( ) ;
151
151
} ) ;
@@ -162,7 +162,7 @@ tape( 'the function returns a zero-filled array (dtype=int32, order=row-major)',
162
162
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
163
163
t . strictEqual ( instanceOf ( arr . data , Int32Array ) , true , 'returns expected value' ) ;
164
164
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
165
- t . strictEqual ( arr . order , 'row-major' ) ;
165
+ t . strictEqual ( arr . order , 'row-major' , 'returns expected value' ) ;
166
166
167
167
t . end ( ) ;
168
168
} ) ;
@@ -179,7 +179,7 @@ tape( 'the function returns a zero-filled array (dtype=int32, order=column-major
179
179
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
180
180
t . strictEqual ( instanceOf ( arr . data , Int32Array ) , true , 'returns expected value' ) ;
181
181
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
182
- t . strictEqual ( arr . order , 'column-major' ) ;
182
+ t . strictEqual ( arr . order , 'column-major' , 'returns expected value' ) ;
183
183
184
184
t . end ( ) ;
185
185
} ) ;
@@ -196,7 +196,7 @@ tape( 'the function returns a zero-filled array (dtype=int16, order=row-major)',
196
196
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
197
197
t . strictEqual ( instanceOf ( arr . data , Int16Array ) , true , 'returns expected value' ) ;
198
198
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
199
- t . strictEqual ( arr . order , 'row-major' ) ;
199
+ t . strictEqual ( arr . order , 'row-major' , 'returns expected value' ) ;
200
200
201
201
t . end ( ) ;
202
202
} ) ;
@@ -213,7 +213,7 @@ tape( 'the function returns a zero-filled array (dtype=int16, order=column-major
213
213
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
214
214
t . strictEqual ( instanceOf ( arr . data , Int16Array ) , true , 'returns expected value' ) ;
215
215
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
216
- t . strictEqual ( arr . order , 'column-major' ) ;
216
+ t . strictEqual ( arr . order , 'column-major' , 'returns expected value' ) ;
217
217
218
218
t . end ( ) ;
219
219
} ) ;
@@ -230,7 +230,7 @@ tape( 'the function returns a zero-filled array (dtype=int8, order=row-major)',
230
230
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
231
231
t . strictEqual ( instanceOf ( arr . data , Int8Array ) , true , 'returns expected value' ) ;
232
232
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
233
- t . strictEqual ( arr . order , 'row-major' ) ;
233
+ t . strictEqual ( arr . order , 'row-major' , 'returns expected value' ) ;
234
234
235
235
t . end ( ) ;
236
236
} ) ;
@@ -247,7 +247,7 @@ tape( 'the function returns a zero-filled array (dtype=int8, order=column-major)
247
247
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
248
248
t . strictEqual ( instanceOf ( arr . data , Int8Array ) , true , 'returns expected value' ) ;
249
249
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
250
- t . strictEqual ( arr . order , 'column-major' ) ;
250
+ t . strictEqual ( arr . order , 'column-major' , 'returns expected value' ) ;
251
251
252
252
t . end ( ) ;
253
253
} ) ;
@@ -264,7 +264,7 @@ tape( 'the function returns a zero-filled array (dtype=uint32, order=row-major)'
264
264
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
265
265
t . strictEqual ( instanceOf ( arr . data , Uint32Array ) , true , 'returns expected value' ) ;
266
266
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
267
- t . strictEqual ( arr . order , 'row-major' ) ;
267
+ t . strictEqual ( arr . order , 'row-major' , 'returns expected value' ) ;
268
268
269
269
t . end ( ) ;
270
270
} ) ;
@@ -281,7 +281,7 @@ tape( 'the function returns a zero-filled array (dtype=uint32, order=column-majo
281
281
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
282
282
t . strictEqual ( instanceOf ( arr . data , Uint32Array ) , true , 'returns expected value' ) ;
283
283
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
284
- t . strictEqual ( arr . order , 'column-major' ) ;
284
+ t . strictEqual ( arr . order , 'column-major' , 'returns expected value' ) ;
285
285
286
286
t . end ( ) ;
287
287
} ) ;
@@ -298,7 +298,7 @@ tape( 'the function returns a zero-filled array (dtype=uint16, order=row-major)'
298
298
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
299
299
t . strictEqual ( instanceOf ( arr . data , Uint16Array ) , true , 'returns expected value' ) ;
300
300
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
301
- t . strictEqual ( arr . order , 'row-major' ) ;
301
+ t . strictEqual ( arr . order , 'row-major' , 'returns expected value' ) ;
302
302
303
303
t . end ( ) ;
304
304
} ) ;
@@ -315,7 +315,7 @@ tape( 'the function returns a zero-filled array (dtype=uint16, order=column-majo
315
315
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
316
316
t . strictEqual ( instanceOf ( arr . data , Uint16Array ) , true , 'returns expected value' ) ;
317
317
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
318
- t . strictEqual ( arr . order , 'column-major' ) ;
318
+ t . strictEqual ( arr . order , 'column-major' , 'returns expected value' ) ;
319
319
320
320
t . end ( ) ;
321
321
} ) ;
@@ -332,7 +332,7 @@ tape( 'the function returns a zero-filled array (dtype=uint8, order=row-major)',
332
332
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
333
333
t . strictEqual ( instanceOf ( arr . data , Uint8Array ) , true , 'returns expected value' ) ;
334
334
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
335
- t . strictEqual ( arr . order , 'row-major' ) ;
335
+ t . strictEqual ( arr . order , 'row-major' , 'returns expected value' ) ;
336
336
337
337
t . end ( ) ;
338
338
} ) ;
@@ -349,7 +349,7 @@ tape( 'the function returns a zero-filled array (dtype=uint8, order=column-major
349
349
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
350
350
t . strictEqual ( instanceOf ( arr . data , Uint8Array ) , true , 'returns expected value' ) ;
351
351
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
352
- t . strictEqual ( arr . order , 'column-major' ) ;
352
+ t . strictEqual ( arr . order , 'column-major' , 'returns expected value' ) ;
353
353
354
354
t . end ( ) ;
355
355
} ) ;
@@ -366,7 +366,7 @@ tape( 'the function returns a zero-filled array (dtype=uint8c, order=row-major)'
366
366
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
367
367
t . strictEqual ( instanceOf ( arr . data , Uint8ClampedArray ) , true , 'returns expected value' ) ;
368
368
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
369
- t . strictEqual ( arr . order , 'row-major' ) ;
369
+ t . strictEqual ( arr . order , 'row-major' , 'returns expected value' ) ;
370
370
371
371
t . end ( ) ;
372
372
} ) ;
@@ -383,7 +383,7 @@ tape( 'the function returns a zero-filled array (dtype=uint8c, order=column-majo
383
383
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
384
384
t . strictEqual ( instanceOf ( arr . data , Uint8ClampedArray ) , true , 'returns expected value' ) ;
385
385
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
386
- t . strictEqual ( arr . order , 'column-major' ) ;
386
+ t . strictEqual ( arr . order , 'column-major' , 'returns expected value' ) ;
387
387
388
388
t . end ( ) ;
389
389
} ) ;
@@ -400,7 +400,7 @@ tape( 'the function returns a zero-filled array (dtype=complex128, order=row-maj
400
400
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
401
401
t . strictEqual ( instanceOf ( arr . data , Complex128Array ) , true , 'returns expected value' ) ;
402
402
t . deepEqual ( reinterpret128 ( arr . data , 0 ) , expected , 'returns expected value' ) ;
403
- t . strictEqual ( arr . order , 'row-major' ) ;
403
+ t . strictEqual ( arr . order , 'row-major' , 'returns expected value' ) ;
404
404
405
405
t . end ( ) ;
406
406
} ) ;
@@ -417,7 +417,7 @@ tape( 'the function returns a zero-filled array (dtype=complex128, order=column-
417
417
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
418
418
t . strictEqual ( instanceOf ( arr . data , Complex128Array ) , true , 'returns expected value' ) ;
419
419
t . deepEqual ( reinterpret128 ( arr . data , 0 ) , expected , 'returns expected value' ) ;
420
- t . strictEqual ( arr . order , 'column-major' ) ;
420
+ t . strictEqual ( arr . order , 'column-major' , 'returns expected value' ) ;
421
421
422
422
t . end ( ) ;
423
423
} ) ;
@@ -434,7 +434,7 @@ tape( 'the function returns a zero-filled array (dtype=complex64, order=row-majo
434
434
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
435
435
t . strictEqual ( instanceOf ( arr . data , Complex64Array ) , true , 'returns expected value' ) ;
436
436
t . deepEqual ( reinterpret64 ( arr . data , 0 ) , expected , 'returns expected value' ) ;
437
- t . strictEqual ( arr . order , 'row-major' ) ;
437
+ t . strictEqual ( arr . order , 'row-major' , 'returns expected value' ) ;
438
438
439
439
t . end ( ) ;
440
440
} ) ;
@@ -451,7 +451,7 @@ tape( 'the function returns a zero-filled array (dtype=complex64, order=column-m
451
451
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
452
452
t . strictEqual ( instanceOf ( arr . data , Complex64Array ) , true , 'returns expected value' ) ;
453
453
t . deepEqual ( reinterpret64 ( arr . data , 0 ) , expected , 'returns expected value' ) ;
454
- t . strictEqual ( arr . order , 'column-major' ) ;
454
+ t . strictEqual ( arr . order , 'column-major' , 'returns expected value' ) ;
455
455
456
456
t . end ( ) ;
457
457
} ) ;
@@ -468,7 +468,7 @@ tape( 'the function returns a zero-filled array (dtype=generic, order=row-major)
468
468
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
469
469
t . strictEqual ( instanceOf ( arr . data , Array ) , true , 'returns expected value' ) ;
470
470
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
471
- t . strictEqual ( arr . order , 'row-major' ) ;
471
+ t . strictEqual ( arr . order , 'row-major' , 'returns expected value' ) ;
472
472
473
473
t . end ( ) ;
474
474
} ) ;
@@ -485,7 +485,7 @@ tape( 'the function returns a zero-filled array (dtype=generic, order=column-maj
485
485
t . deepEqual ( arr . shape , [ 2 , 2 ] , 'returns expected value' ) ;
486
486
t . strictEqual ( instanceOf ( arr . data , Array ) , true , 'returns expected value' ) ;
487
487
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
488
- t . strictEqual ( arr . order , 'column-major' ) ;
488
+ t . strictEqual ( arr . order , 'column-major' , 'returns expected value' ) ;
489
489
490
490
t . end ( ) ;
491
491
} ) ;
@@ -502,7 +502,7 @@ tape( 'the function supports zero-dimensional arrays', function test( t ) {
502
502
t . deepEqual ( arr . shape , [ ] , 'returns expected value' ) ;
503
503
t . strictEqual ( instanceOf ( arr . data , Float64Array ) , true , 'returns expected value' ) ;
504
504
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
505
- t . strictEqual ( arr . order , 'row-major' ) ;
505
+ t . strictEqual ( arr . order , 'row-major' , 'returns expected value' ) ;
506
506
507
507
t . end ( ) ;
508
508
} ) ;
@@ -519,7 +519,7 @@ tape( 'the function supports empty arrays', function test( t ) {
519
519
t . deepEqual ( arr . shape , [ 2 , 0 , 2 ] , 'returns expected value' ) ;
520
520
t . strictEqual ( instanceOf ( arr . data , Float64Array ) , true , 'returns expected value' ) ;
521
521
t . deepEqual ( arr . data , expected , 'returns expected value' ) ;
522
- t . strictEqual ( arr . order , 'row-major' ) ;
522
+ t . strictEqual ( arr . order , 'row-major' , 'returns expected value' ) ;
523
523
524
524
t . end ( ) ;
525
525
} ) ;
0 commit comments