@@ -205,10 +205,14 @@ tape( 'the function supports a `y` offset', function test( t ) {
205205} ) ;
206206
207207tape ( 'the function returns a reference to the destination array' , function test ( t ) {
208- var x = [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 ] ;
209- var y = [ 6.0 , 7.0 , 8.0 , 9.0 , 10.0 ] ;
208+ var out ;
209+ var x ;
210+ var y ;
211+
212+ x = [ 1.0 , 2.0 , 3.0 , 4.0 , 5.0 ] ;
213+ y = [ 6.0 , 7.0 , 8.0 , 9.0 , 10.0 ] ;
210214
211- var out = axpy ( x . length , 3.0 , x , 1 , 0 , y , 1 , 0 ) ;
215+ out = axpy ( x . length , 3.0 , x , 1 , 0 , y , 1 , 0 ) ;
212216
213217 t . strictEqual ( out , y , 'same reference' ) ;
214218 t . end ( ) ;
@@ -295,7 +299,7 @@ tape( 'the function supports complex access patterns', function test( t ) {
295299 t . end ( ) ;
296300} ) ;
297301
298- tape ( 'if both strides are equal to `1`, the function efficiently copies elements from `x` into `y` ' , function test ( t ) {
302+ tape ( 'if both strides are equal to `1`, the function efficiently iterates over provided arrays ' , function test ( t ) {
299303 var expected ;
300304 var alpha ;
301305 var x ;
0 commit comments