Skip to content

Commit b9648bb

Browse files
chore: updated test
--- 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 0f1b6c3 commit b9648bb

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

lib/node_modules/@stdlib/stats/strided/wasm/dsnanmeanwd/test/test.module.ndarray.js

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -151,39 +151,6 @@ tape( 'a module instance has an `ndarray` method which supports a `stride` param
151151
t.end();
152152
});
153153

154-
tape( 'a module instance has an `ndarray` method which supports a negative `stride` parameter', function test( t ) {
155-
var mem;
156-
var mod;
157-
var xp;
158-
var y;
159-
160-
mem = new Memory({
161-
'initial': 1
162-
});
163-
mod = new Module( mem );
164-
mod.initializeSync();
165-
166-
xp = 0;
167-
168-
mod.write( xp, new Float32Array([
169-
1.0, // 4
170-
2.0,
171-
2.0, // 3
172-
-7.0,
173-
-2.0, // 2
174-
3.0,
175-
4.0, // 1
176-
2.0,
177-
NaN, // 0
178-
NaN
179-
]));
180-
181-
y = mod.ndarray( 5, xp, -2, 6 );
182-
t.strictEqual( y, 1.25, 'returns expected value' );
183-
184-
t.end();
185-
});
186-
187154
tape( 'if provided a `stride` parameter equal to `0`, a module instance has an `ndarray` method which returns the first element', function test( t ) {
188155
var mem;
189156
var mod;

0 commit comments

Comments
 (0)