Skip to content

Commit 3596e4b

Browse files
committed
chore: cleanup
--- 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 d21d386 commit 3596e4b

File tree

1 file changed

+12
-12
lines changed
  • lib/node_modules/@stdlib/ndarray/base/every-by/test

1 file changed

+12
-12
lines changed

lib/node_modules/@stdlib/ndarray/base/every-by/test/test.2d.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ tape( 'the function tests whether every element in a 2-dimensional ndarray passe
109109
}
110110
});
111111

112-
tape( 'the function supports specifying the callback execution context', function test( t ) {
112+
tape( 'the function supports specifying the callback execution context (row-major, contiguous)', function test( t ) {
113113
var expected;
114114
var indices;
115115
var values;
@@ -178,7 +178,7 @@ tape( 'the function supports specifying the callback execution context', functio
178178
}
179179
});
180180

181-
tape( 'the function supports specifying the callback execution context (accessors)', function test( t ) {
181+
tape( 'the function supports specifying the callback execution context (row-major, contiguous, accessors)', function test( t ) {
182182
var expected;
183183
var indices;
184184
var values;
@@ -325,7 +325,7 @@ tape( 'the function tests whether every element in a 2-dimensional ndarray passe
325325
dt = 'float64';
326326
ord = 'row-major';
327327
sh = [ 2, 2 ];
328-
st = [ 4, 1 ];
328+
st = [ 4, 2 ];
329329
o = strides2offset( sh, st );
330330

331331
x = ndarray( dt, zeros( 8, dt ), sh, st, o, ord );
@@ -357,7 +357,7 @@ tape( 'the function tests whether every element in a 2-dimensional ndarray passe
357357
dt = 'float64';
358358
ord = 'row-major';
359359
sh = [ 2, 2 ];
360-
st = [ 4, -1 ];
360+
st = [ 4, -2 ];
361361
o = strides2offset( sh, st );
362362

363363
x = ndarray( dt, zeros( 8, dt ), sh, st, o, ord );
@@ -530,7 +530,7 @@ tape( 'the function tests whether every element in a 2-dimensional ndarray passe
530530
dt = 'complex128';
531531
ord = 'row-major';
532532
sh = [ 2, 2 ];
533-
st = [ 4, 1 ];
533+
st = [ 4, 2 ];
534534
o = strides2offset( sh, st );
535535

536536
xbuf = zeros( 8*2, 'float64' );
@@ -565,7 +565,7 @@ tape( 'the function tests whether every element in a 2-dimensional ndarray passe
565565
dt = 'complex128';
566566
ord = 'row-major';
567567
sh = [ 2, 2 ];
568-
st = [ -1, 4 ];
568+
st = [ -2, 4 ];
569569
o = strides2offset( sh, st );
570570

571571
xbuf = zeros( 8*2, 'float64' );
@@ -730,7 +730,7 @@ tape( 'the function tests whether every element in a 2-dimensional ndarray passe
730730
}
731731
});
732732

733-
tape( 'the function supports specifying the callback execution context', function test( t ) {
733+
tape( 'the function supports specifying the callback execution context (column-major, contiguous)', function test( t ) {
734734
var expected;
735735
var indices;
736736
var values;
@@ -799,7 +799,7 @@ tape( 'the function supports specifying the callback execution context', functio
799799
}
800800
});
801801

802-
tape( 'the function supports specifying the callback execution context (accessors)', function test( t ) {
802+
tape( 'the function supports specifying the callback execution context (column-major, contiguous, accessors)', function test( t ) {
803803
var expected;
804804
var indices;
805805
var values;
@@ -946,7 +946,7 @@ tape( 'the function tests whether every element in a 2-dimensional ndarray passe
946946
dt = 'float64';
947947
ord = 'column-major';
948948
sh = [ 2, 2 ];
949-
st = [ 1, 4 ];
949+
st = [ 2, 4 ];
950950
o = strides2offset( sh, st );
951951

952952
x = ndarray( dt, zeros( 8, dt ), sh, st, o, ord );
@@ -978,7 +978,7 @@ tape( 'the function tests whether every element in a 2-dimensional ndarray passe
978978
dt = 'float64';
979979
ord = 'column-major';
980980
sh = [ 2, 2 ];
981-
st = [ -1, 4 ];
981+
st = [ -2, 4 ];
982982
o = strides2offset( sh, st );
983983

984984
x = ndarray( dt, zeros( 8, dt ), sh, st, o, ord );
@@ -1151,7 +1151,7 @@ tape( 'the function tests whether every element in a 2-dimensional ndarray passe
11511151
dt = 'complex128';
11521152
ord = 'column-major';
11531153
sh = [ 2, 2 ];
1154-
st = [ 1, 4 ];
1154+
st = [ 2, 4 ];
11551155
o = strides2offset( sh, st );
11561156

11571157
xbuf = zeros( 8*2, 'float64' );
@@ -1186,7 +1186,7 @@ tape( 'the function tests whether every element in a 2-dimensional ndarray passe
11861186
dt = 'complex128';
11871187
ord = 'column-major';
11881188
sh = [ 2, 2 ];
1189-
st = [ -1, 4 ];
1189+
st = [ -2, 4 ];
11901190
o = strides2offset( sh, st );
11911191

11921192
xbuf = zeros( 8*2, 'float64' );

0 commit comments

Comments
 (0)