Skip to content

Commit 2c49033

Browse files
committed
test: add 5d tests
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 61db88a commit 2c49033

File tree

2 files changed

+1955
-7
lines changed

2 files changed

+1955
-7
lines changed

lib/node_modules/@stdlib/ndarray/base/some-by/test/test.4d.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,7 +1198,7 @@ tape( 'the function tests whether at `n` elements in a 4-dimensional ndarray pas
11981198
dt = 'float64';
11991199
ord = 'column-major';
12001200
sh = [ 2, 1, 2, 1 ];
1201-
st = [ 2, 4, 4, 4 ];
1201+
st = [ 2, 4, 4, 8 ];
12021202
o = strides2offset( sh, st );
12031203

12041204
x = ndarray( dt, zeros( 8, dt ), sh, st, o, ord );
@@ -1234,7 +1234,7 @@ tape( 'the function tests whether at `n` elements in a 4-dimensional ndarray pas
12341234
dt = 'float64';
12351235
ord = 'column-major';
12361236
sh = [ 2, 1, 2, 1 ];
1237-
st = [ -2, 4, 4, 4 ];
1237+
st = [ -2, 4, 4, 8 ];
12381238
o = strides2offset( sh, st );
12391239

12401240
x = ndarray( dt, zeros( 8, dt ), sh, st, o, ord );
@@ -1273,7 +1273,7 @@ tape( 'the function tests whether at `n` elements in a 4-dimensional ndarray pas
12731273

12741274
bsize = blockSize( dt );
12751275
sh = [ bsize*2, 1, 2, 1 ];
1276-
st = [ 2, -bsize*4, bsize*4, bsize*4 ];
1276+
st = [ 2, -bsize*4, bsize*4, bsize*8 ];
12771277
o = strides2offset( sh, st );
12781278

12791279
x = ndarray( dt, zeros( numel( sh )*2, dt ), sh, st, o, ord );
@@ -1466,7 +1466,7 @@ tape( 'the function tests whether at `n` elements in a 4-dimensional ndarray pas
14661466
dt = 'complex128';
14671467
ord = 'column-major';
14681468
sh = [ 2, 1, 2, 1 ];
1469-
st = [ -1, -2, -2, -2 ];
1469+
st = [ -1, -2, -2, -4 ];
14701470
o = strides2offset( sh, st );
14711471

14721472
xbuf = zeros( numel( sh )*2, 'float64' );
@@ -1505,7 +1505,7 @@ tape( 'the function tests whether at `n` elements in a 4-dimensional ndarray pas
15051505
dt = 'complex128';
15061506
ord = 'column-major';
15071507
sh = [ 2, 1, 2, 1 ];
1508-
st = [ 2, 4, 4, 4 ];
1508+
st = [ 2, 4, 4, 8 ];
15091509
o = strides2offset( sh, st );
15101510

15111511
xbuf = zeros( 8*2, 'float64' );
@@ -1544,7 +1544,7 @@ tape( 'the function tests whether at `n` elements in a 4-dimensional ndarray pas
15441544
dt = 'complex128';
15451545
ord = 'column-major';
15461546
sh = [ 2, 1, 2, 1 ];
1547-
st = [ -2, 4, 4, 4 ];
1547+
st = [ -2, 4, 4, 8 ];
15481548
o = strides2offset( sh, st );
15491549

15501550
xbuf = zeros( 8*2, 'float64' );
@@ -1586,7 +1586,7 @@ tape( 'the function tests whether at `n` elements in a 4-dimensional ndarray pas
15861586

15871587
bsize = blockSize( dt );
15881588
sh = [ bsize*2, 1, 2, 1 ];
1589-
st = [ -2, bsize*4, bsize*4, bsize*4 ];
1589+
st = [ -2, bsize*4, bsize*4, bsize*8 ];
15901590
o = strides2offset( sh, st );
15911591

15921592
xbuf = zeros( numel( sh )*4, 'float64' );

0 commit comments

Comments
 (0)