Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions lib/node_modules/@stdlib/blas/base/drot/test/test.drot.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof drot, 'function', 'main export is a function' );
t.end();
});
} );

tape( 'the function has an arity of 7', function test( t ) {
t.strictEqual( drot.length, 7, 'returns expected value' );
t.end();
});
} );

tape( 'the function applies a plane rotation (sx=1, sy=1)', function test( t ) {
var xbuf;
Expand Down Expand Up @@ -108,7 +108,7 @@ tape( 'the function applies a plane rotation (sx=1, sy=1)', function test( t ) {
t.strictEqual( out, y, 'returns expected value' );
}
t.end();
});
} );

tape( 'the function applies a plane rotation (sx=2, sy=-2)', function test( t ) {
var xbuf;
Expand Down Expand Up @@ -148,7 +148,7 @@ tape( 'the function applies a plane rotation (sx=2, sy=-2)', function test( t )
t.strictEqual( out, y, 'returns expected value' );
}
t.end();
});
} );

tape( 'the function applies a plane rotation (sx=-2, sy=1)', function test( t ) {
var xbuf;
Expand Down Expand Up @@ -188,7 +188,7 @@ tape( 'the function applies a plane rotation (sx=-2, sy=1)', function test( t )
t.strictEqual( out, y, 'returns expected value' );
}
t.end();
});
} );

tape( 'the function applies a plane rotation (sx=-1, sy=-2)', function test( t ) {
var xbuf;
Expand Down Expand Up @@ -228,7 +228,7 @@ tape( 'the function applies a plane rotation (sx=-1, sy=-2)', function test( t )
t.strictEqual( out, y, 'returns expected value' );
}
t.end();
});
} );

tape( 'the function supports an `x` stride', function test( t ) {
var xe;
Expand Down Expand Up @@ -260,7 +260,7 @@ tape( 'the function supports an `x` stride', function test( t ) {
isApprox( t, y, ye, 2.0 );

t.end();
});
} );

tape( 'the function supports a `y` stride', function test( t ) {
var xe;
Expand Down Expand Up @@ -292,7 +292,7 @@ tape( 'the function supports a `y` stride', function test( t ) {
t.deepEqual( y, ye, 'returns expected value' );

t.end();
});
} );

tape( 'the function returns a reference to the second input array', function test( t ) {
var out;
Expand All @@ -306,7 +306,7 @@ tape( 'the function returns a reference to the second input array', function tes

t.strictEqual( out, y, 'returns expected value' );
t.end();
});
} );

tape( 'if provided an `N` parameter less than or equal to `0`, the function leaves both input arrays unchanged', function test( t ) {
var xe;
Expand All @@ -332,7 +332,7 @@ tape( 'if provided an `N` parameter less than or equal to `0`, the function leav
t.deepEqual( y, ye, 'returns expected value' );

t.end();
});
} );

tape( 'the function supports negative strides', function test( t ) {
var xe;
Expand Down Expand Up @@ -368,7 +368,7 @@ tape( 'the function supports negative strides', function test( t ) {
isApprox( t, y, ye, 20.0 );

t.end();
});
} );

tape( 'the function supports complex access patterns', function test( t ) {
var xe;
Expand Down Expand Up @@ -404,4 +404,4 @@ tape( 'the function supports complex access patterns', function test( t ) {
isApprox( t, y, ye, 5.0 );

t.end();
});
} );
24 changes: 12 additions & 12 deletions lib/node_modules/@stdlib/blas/base/drot/test/test.drot.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ tape( 'main export is a function', opts, function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof drot, 'function', 'main export is a function' );
t.end();
});
} );

tape( 'the function has an arity of 7', opts, function test( t ) {
t.strictEqual( drot.length, 7, 'returns expected value' );
t.end();
});
} );

tape( 'the function applies a plane rotation (sx=1, sy=1)', opts, function test( t ) {
var xbuf;
Expand Down Expand Up @@ -117,7 +117,7 @@ tape( 'the function applies a plane rotation (sx=1, sy=1)', opts, function test(
t.strictEqual( out, y, 'returns expected value' );
}
t.end();
});
} );

tape( 'the function applies a plane rotation (sx=2, sy=-2)', opts, function test( t ) {
var xbuf;
Expand Down Expand Up @@ -157,7 +157,7 @@ tape( 'the function applies a plane rotation (sx=2, sy=-2)', opts, function test
t.strictEqual( out, y, 'returns expected value' );
}
t.end();
});
} );

tape( 'the function applies a plane rotation (sx=-2, sy=1)', opts, function test( t ) {
var xbuf;
Expand Down Expand Up @@ -197,7 +197,7 @@ tape( 'the function applies a plane rotation (sx=-2, sy=1)', opts, function test
t.strictEqual( out, y, 'returns expected value' );
}
t.end();
});
} );

tape( 'the function applies a plane rotation (sx=-1, sy=-2)', opts, function test( t ) {
var xbuf;
Expand Down Expand Up @@ -237,7 +237,7 @@ tape( 'the function applies a plane rotation (sx=-1, sy=-2)', opts, function tes
t.strictEqual( out, y, 'returns expected value' );
}
t.end();
});
} );

tape( 'the function supports an `x` stride', opts, function test( t ) {
var xe;
Expand Down Expand Up @@ -269,7 +269,7 @@ tape( 'the function supports an `x` stride', opts, function test( t ) {
isApprox( t, y, ye, 2.0 );

t.end();
});
} );

tape( 'the function supports a `y` stride', opts, function test( t ) {
var xe;
Expand Down Expand Up @@ -301,7 +301,7 @@ tape( 'the function supports a `y` stride', opts, function test( t ) {
t.deepEqual( y, ye, 'returns expected value' );

t.end();
});
} );

tape( 'the function returns a reference to the second input array', opts, function test( t ) {
var out;
Expand All @@ -315,7 +315,7 @@ tape( 'the function returns a reference to the second input array', opts, functi

t.strictEqual( out, y, 'returns expected value' );
t.end();
});
} );

tape( 'if provided an `N` parameter less than or equal to `0`, the function leaves both input arrays unchanged', opts, function test( t ) {
var xe;
Expand All @@ -341,7 +341,7 @@ tape( 'if provided an `N` parameter less than or equal to `0`, the function leav
t.deepEqual( y, ye, 'returns expected value' );

t.end();
});
} );

tape( 'the function supports negative strides', opts, function test( t ) {
var xe;
Expand Down Expand Up @@ -377,7 +377,7 @@ tape( 'the function supports negative strides', opts, function test( t ) {
isApprox( t, y, ye, 20.0 );

t.end();
});
} );

tape( 'the function supports complex access patterns', opts, function test( t ) {
var xe;
Expand Down Expand Up @@ -413,4 +413,4 @@ tape( 'the function supports complex access patterns', opts, function test( t )
isApprox( t, y, ye, 5.0 );

t.end();
});
} );
8 changes: 4 additions & 4 deletions lib/node_modules/@stdlib/blas/base/drot/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof drot, 'function', 'main export is a function' );
t.end();
});
} );

tape( 'attached to the main export is a method providing an ndarray interface', function test( t ) {
t.strictEqual( typeof drot.ndarray, 'function', 'method is a function' );
t.end();
});
} );

tape( 'if a native implementation is available, the main export is the native implementation', opts, function test( t ) {
var drot = proxyquire( './../lib', {
Expand All @@ -61,7 +61,7 @@ tape( 'if a native implementation is available, the main export is the native im
function mock() {
// Mock...
}
});
} );

tape( 'if a native implementation is not available, the main export is a JavaScript implementation', opts, function test( t ) {
var drot;
Expand All @@ -79,4 +79,4 @@ tape( 'if a native implementation is not available, the main export is a JavaScr
function tryRequire() {
return new Error( 'Cannot find module' );
}
});
} );
28 changes: 14 additions & 14 deletions lib/node_modules/@stdlib/blas/base/drot/test/test.ndarray.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof drot, 'function', 'main export is a function' );
t.end();
});
} );

tape( 'the function has an arity of 9', function test( t ) {
t.strictEqual( drot.length, 9, 'returns expected value' );
t.end();
});
} );

tape( 'the function applies a plane rotation (sx=1, sy=1)', function test( t ) {
var xbuf;
Expand Down Expand Up @@ -113,7 +113,7 @@ tape( 'the function applies a plane rotation (sx=1, sy=1)', function test( t ) {
t.strictEqual( out, y, 'returns expected value' );
}
t.end();
});
} );

tape( 'the function applies a plane rotation (sx=2, sy=-2)', function test( t ) {
var xbuf;
Expand Down Expand Up @@ -158,7 +158,7 @@ tape( 'the function applies a plane rotation (sx=2, sy=-2)', function test( t )
t.strictEqual( out, y, 'returns expected value' );
}
t.end();
});
} );

tape( 'the function applies a plane rotation (sx=-2, sy=1)', function test( t ) {
var xbuf;
Expand Down Expand Up @@ -202,7 +202,7 @@ tape( 'the function applies a plane rotation (sx=-2, sy=1)', function test( t )
t.strictEqual( out, y, 'returns expected value' );
}
t.end();
});
} );

tape( 'the function applies a plane rotation (sx=-1, sy=-2)', function test( t ) {
var xbuf;
Expand Down Expand Up @@ -247,7 +247,7 @@ tape( 'the function applies a plane rotation (sx=-1, sy=-2)', function test( t )
t.strictEqual( out, y, 'returns expected value' );
}
t.end();
});
} );

tape( 'the function supports an `x` stride', function test( t ) {
var xe;
Expand Down Expand Up @@ -279,7 +279,7 @@ tape( 'the function supports an `x` stride', function test( t ) {
isApprox( t, y, ye, 2.0 );

t.end();
});
} );

tape( 'the function supports an `x` offset', function test( t ) {
var xe;
Expand Down Expand Up @@ -311,7 +311,7 @@ tape( 'the function supports an `x` offset', function test( t ) {
isApprox( t, y, ye, 2.0 );

t.end();
});
} );

tape( 'the function supports a `y` stride', function test( t ) {
var xe;
Expand Down Expand Up @@ -343,7 +343,7 @@ tape( 'the function supports a `y` stride', function test( t ) {
isApprox( t, y, ye, 1.0 );

t.end();
});
} );

tape( 'the function supports a `y` offset', function test( t ) {
var xe;
Expand Down Expand Up @@ -375,7 +375,7 @@ tape( 'the function supports a `y` offset', function test( t ) {
isApprox( t, y, ye, 1.0 );

t.end();
});
} );

tape( 'the function returns a reference to the second input array', function test( t ) {
var out;
Expand All @@ -389,7 +389,7 @@ tape( 'the function returns a reference to the second input array', function tes

t.strictEqual( out, y, 'returns expected value' );
t.end();
});
} );

tape( 'if provided an `N` parameter less than or equal to `0`, the function leaves both input arrays unchanged', function test( t ) {
var xe;
Expand All @@ -415,7 +415,7 @@ tape( 'if provided an `N` parameter less than or equal to `0`, the function leav
t.deepEqual( y, ye, 'returns expected value' );

t.end();
});
} );

tape( 'the function supports negative strides', function test( t ) {
var xe;
Expand Down Expand Up @@ -451,7 +451,7 @@ tape( 'the function supports negative strides', function test( t ) {
isApprox( t, y, ye, 20.0 );

t.end();
});
} );

tape( 'the function supports complex access patterns', function test( t ) {
var xe;
Expand Down Expand Up @@ -487,4 +487,4 @@ tape( 'the function supports complex access patterns', function test( t ) {
isApprox( t, y, ye, 5.0 );

t.end();
});
} );
Loading