Skip to content

Commit db172be

Browse files
committed
chore: update test cases
--- 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 83bec2a commit db172be

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

lib/node_modules/@stdlib/blas/base/dnrm2/test/test.dnrm2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ tape( 'the function calculates the L2-norm of a vector ( tiny value ) ', functio
8282
z = dnrm2( x.length, x, 1, 0 );
8383
t.strictEqual( z, sqrt( 51.0 ), 'returns expected value' );
8484

85-
x = new Float64Array( [ 5.0, 1.0e155 ] );
85+
x = new Float64Array( [ 5.0, 1.0e-155 ] );
8686

8787
z = dnrm2( x.length, x, 1, 0 );
88-
t.strictEqual( z, 1.0e155, 'returns expected value' );
88+
t.strictEqual( z, 5.0, 'returns expected value' );
8989

9090
t.end();
9191
});

lib/node_modules/@stdlib/blas/base/dnrm2/test/test.dnrm2.native.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ tape( 'the function calculates the L2-norm of a vector ( tiny value ) ', functio
9191
z = dnrm2( x.length, x, 1, 0 );
9292
t.strictEqual( z, sqrt( 51.0 ), 'returns expected value' );
9393

94-
x = new Float64Array( [ 5.0, 1.0e155 ] );
94+
x = new Float64Array( [ 5.0, 1.0e-155 ] );
9595

9696
z = dnrm2( x.length, x, 1, 0 );
97-
t.strictEqual( z, 1.0e155, 'returns expected value' );
97+
t.strictEqual( z, 5.0, 'returns expected value' );
9898

9999
t.end();
100100
});

lib/node_modules/@stdlib/blas/base/dnrm2/test/test.ndarray.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ tape( 'the function calculates the L2-norm of a vector ( tiny value ) ', functio
8282
z = dnrm2( x.length, x, 1, 0 );
8383
t.strictEqual( z, sqrt( 51.0 ), 'returns expected value' );
8484

85-
x = new Float64Array( [ 5.0, 1.0e155 ] );
85+
x = new Float64Array( [ 5.0, 1.0e-155 ] );
8686

8787
z = dnrm2( x.length, x, 1, 0 );
88-
t.strictEqual( z, 1.0e155, 'returns expected value' );
88+
t.strictEqual( z, 5.0, 'returns expected value' );
8989

9090
t.end();
9191
});

lib/node_modules/@stdlib/blas/base/dnrm2/test/test.ndarray.native.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ tape( 'the function calculates the L2-norm of a vector ( tiny value ) ', functio
9191
z = dnrm2( x.length, x, 1, 0 );
9292
t.strictEqual( z, sqrt( 51.0 ), 'returns expected value' );
9393

94-
x = new Float64Array( [ 5.0, 1.0e155 ] );
94+
x = new Float64Array( [ 5.0, 1.0e-155 ] );
9595

9696
z = dnrm2( x.length, x, 1, 0 );
97-
t.strictEqual( z, 1.0e155, 'returns expected value' );
97+
t.strictEqual( z, 5.0, 'returns expected value' );
9898

9999
t.end();
100100
});

0 commit comments

Comments
 (0)