Skip to content

Commit d51e004

Browse files
committed
test: add initial 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: passed - 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 a6a19f3 commit d51e004

15 files changed

+539
-5
lines changed

lib/node_modules/@stdlib/lapack/base/dlange/lib/base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/lapack/base/dlange/lib/dlange.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/lapack/base/dlange/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/lapack/base/dlange/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/lapack/base/dlange/lib/ndarray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"order": "column-major",
3+
"norm": "frobenius",
4+
"M": 3,
5+
"N": 4,
6+
"A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ],
7+
"LDA": 3,
8+
"strideA1": 1,
9+
"strideA2": 3,
10+
"offsetA": 0,
11+
"A_mat": [
12+
[ 1.0, 4.0, 7.0, 10.0 ],
13+
[ 2.0, 5.0, 8.0, 11.0 ],
14+
[ 3.0, 6.0, 9.0, 12.0 ]
15+
],
16+
"work": [ 0.0, 0.0, 0.0 ],
17+
"strideWork": 1,
18+
"offsetWork": 0,
19+
"expected": 25.495097567963924
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"order": "row-major",
3+
"norm": "frobenius",
4+
"M": 3,
5+
"N": 4,
6+
"A": [ 1.0, 4.0, 7.0, 10.0, 2.0, 5.0, 8.0, 11.0, 3.0, 6.0, 9.0, 12.0 ],
7+
"LDA": 4,
8+
"strideA1": 4,
9+
"strideA2": 1,
10+
"offsetA": 0,
11+
"A_mat": [
12+
[ 1.0, 4.0, 7.0, 10.0 ],
13+
[ 2.0, 5.0, 8.0, 11.0 ],
14+
[ 3.0, 6.0, 9.0, 12.0 ]
15+
],
16+
"work": [ 0.0, 0.0, 0.0 ],
17+
"strideWork": 1,
18+
"offsetWork": 0,
19+
"expected": 25.495097567963924
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"order": "column-major",
3+
"norm": "infinity",
4+
"M": 3,
5+
"N": 4,
6+
"A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ],
7+
"LDA": 3,
8+
"strideA1": 1,
9+
"strideA2": 3,
10+
"offsetA": 0,
11+
"A_mat": [
12+
[ 1.0, 4.0, 7.0, 10.0 ],
13+
[ 2.0, 5.0, 8.0, 11.0 ],
14+
[ 3.0, 6.0, 9.0, 12.0 ]
15+
],
16+
"work": [ 0.0, 0.0, 0.0 ],
17+
"strideWork": 1,
18+
"offsetWork": 0,
19+
"expected": 30.0
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"order": "row-major",
3+
"norm": "infinity",
4+
"M": 3,
5+
"N": 4,
6+
"A": [ 1.0, 4.0, 7.0, 10.0, 2.0, 5.0, 8.0, 11.0, 3.0, 6.0, 9.0, 12.0 ],
7+
"LDA": 4,
8+
"strideA1": 4,
9+
"strideA2": 1,
10+
"offsetA": 0,
11+
"A_mat": [
12+
[ 1.0, 4.0, 7.0, 10.0 ],
13+
[ 2.0, 5.0, 8.0, 11.0 ],
14+
[ 3.0, 6.0, 9.0, 12.0 ]
15+
],
16+
"work": [ 0.0, 0.0, 0.0 ],
17+
"strideWork": 1,
18+
"offsetWork": 0,
19+
"expected": 30.0
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"order": "column-major",
3+
"norm": "max",
4+
"M": 3,
5+
"N": 4,
6+
"A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 ],
7+
"LDA": 3,
8+
"strideA1": 1,
9+
"strideA2": 3,
10+
"offsetA": 0,
11+
"A_mat": [
12+
[ 1.0, 4.0, 7.0, 10.0 ],
13+
[ 2.0, 5.0, 8.0, 11.0 ],
14+
[ 3.0, 6.0, 9.0, 12.0 ]
15+
],
16+
"work": [ 0.0, 0.0, 0.0 ],
17+
"strideWork": 1,
18+
"offsetWork": 0,
19+
"expected": 12.0
20+
}

0 commit comments

Comments
 (0)