You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -241,7 +242,7 @@ tape( 'a module instance has a `main` method which supports specifying a negativ
241
242
t.end();
242
243
});
243
244
244
-
tape('a module instance has a `main` method which returns a reference to the input array',functiontest(t){
245
+
tape('a module instance has an `ndarray` method which returns a pointer to the output array',functiontest(t){
245
246
varmem;
246
247
varmod;
247
248
varout;
@@ -267,9 +268,10 @@ tape( 'a module instance has a `main` method which returns a reference to the in
267
268
});
268
269
269
270
tape('if provided an `N` parameter less than or equal to `0`, a module instance has a `main` method which leaves the input array unchanged',functiontest(t){
271
+
varexpected;
272
+
varactual;
270
273
varmem;
271
274
varmod;
272
-
varout;
273
275
varap;
274
276
varxp;
275
277
@@ -279,17 +281,23 @@ tape( 'if provided an `N` parameter less than or equal to `0`, a module instance
@@ -305,7 +306,7 @@ tape( 'a module instance has an `ndarray` method which supports a `x` offset', f
305
306
t.end();
306
307
});
307
308
308
-
tape('a module instance has an `ndarray` method which returns a reference to the input array',functiontest(t){
309
+
tape('a module instance has an `ndarray` method which returns a pointer to the output array',functiontest(t){
309
310
varmem;
310
311
varmod;
311
312
varout;
@@ -331,9 +332,10 @@ tape( 'a module instance has an `ndarray` method which returns a reference to th
331
332
});
332
333
333
334
tape('if provided an `N` parameter less than or equal to `0`, a module instance has an `ndarray` method which leaves the input array unchanged',functiontest(t){
335
+
varexpected;
336
+
varactual;
334
337
varmem;
335
338
varmod;
336
-
varout;
337
339
varap;
338
340
varxp;
339
341
@@ -343,17 +345,23 @@ tape( 'if provided an `N` parameter less than or equal to `0`, a module instance
0 commit comments