Skip to content

Commit bb30a2d

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: 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 9a78528 commit bb30a2d

File tree

6 files changed

+486
-0
lines changed

6 files changed

+486
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"order": "column-major",
3+
4+
"itrans": 0,
5+
"N": 3,
6+
"nrhs": 3,
7+
8+
"DL": [ 0.25, 0.26666667 ],
9+
"sdl": 1,
10+
"odl": 0,
11+
12+
"D": [ 4.0, 3.75, 3.73333333 ],
13+
"sd": 1,
14+
"od": 0,
15+
16+
"DU": [ 1.0, 0.73333333 ],
17+
"sdu": 1,
18+
"odu": 0,
19+
20+
"DU2": [ 0.0 ],
21+
"sdu2": 1,
22+
"odu2": 0,
23+
24+
"IPIV": [ 0, 1, 2 ],
25+
"si": 1,
26+
"oi": 0,
27+
28+
"B": [ 7.0, 2.0, 1.0, 8.0, 3.0, 1.5, 7.0, 4.0, 2.0 ],
29+
"sb1": 3,
30+
"sb2": 1,
31+
"ob": 0,
32+
33+
"LDB": 3,
34+
35+
"expected": [1.7455555555 , 0.017777778 , 0.25,
36+
1.9494841268814838, 0.2020634924740646 ,0.3303571422592474,
37+
1.6183333331681546, 0.526666667327381 , 0.3749999983258929]
38+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"order": "column-major",
3+
4+
"itrans": 1,
5+
"N": 3,
6+
"nrhs": 3,
7+
8+
"DL": [ 0.25, 0.26666667 ],
9+
"sdl": 1,
10+
"odl": 0,
11+
12+
"D": [ 4.0, 3.75, 3.73333333 ],
13+
"sd": 1,
14+
"od": 0,
15+
16+
"DU": [ 1.0, 0.73333333 ],
17+
"sdu": 1,
18+
"odu": 0,
19+
20+
"DU2": [ 0.0 ],
21+
"sdu2": 1,
22+
"odu2": 0,
23+
24+
"IPIV": [ 0, 1, 2 ],
25+
"si": 1,
26+
"oi": 0,
27+
28+
"B": [ 7.0, 2.0, 1.0, 8.0, 3.0, 1.5, 7.0, 4.0, 2.0 ],
29+
"sb": 1,
30+
"ob": 0,
31+
32+
"LDB": 3,
33+
34+
"expected": [ 1.7503174605488945 ,-0.0012698421955782, 0.2547619050488946,
35+
1.9566269844548256 ,0.1734920621806973 , 0.3494047624548257,
36+
1.6278571432659439 , 0.4885714269362245 , 0.4178571437659439]
37+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"order": "row-major",
3+
4+
"itrans": 0,
5+
"N": 3,
6+
"nrhs": 3,
7+
8+
"DL": [ 0.25, 0.26666667 ],
9+
"sdl": 1,
10+
"odl": 0,
11+
12+
"D": [ 4.0, 3.75, 3.73333333 ],
13+
"sd": 1,
14+
"od": 0,
15+
16+
"DU": [ 1.0, 0.73333333 ],
17+
"sdu": 1,
18+
"odu": 0,
19+
20+
"DU2": [ 0.0 ],
21+
"sdu2": 1,
22+
"odu2": 0,
23+
24+
"IPIV": [ 0, 1, 2 ],
25+
"si": 1,
26+
"oi": 0,
27+
28+
"B": [ 7.0, 2.0, 1.0, 8.0, 3.0, 1.5, 7.0, 4.0, 2.0 ],
29+
"sb1": 3,
30+
"sb2": 1,
31+
"ob": 0,
32+
33+
"LDB": 3,
34+
35+
"expected": [1.4031746026466836, 0.3769841267155612 ,0.1884920633577806,
36+
1.3873015894132654 ,0.4920634931377552, 0.2460317465688776,
37+
1.4285714242665817 ,0.8928571414221939, 0.4464285707110969]
38+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"order": "row-major",
3+
4+
"itrans": 1,
5+
"N": 3,
6+
"nrhs": 3,
7+
8+
"DL": [ 0.25, 0.26666667 ],
9+
"sdl": 1,
10+
"odl": 0,
11+
12+
"D": [ 4.0, 3.75, 3.73333333 ],
13+
"sd": 1,
14+
"od": 0,
15+
16+
"DU": [ 1.0, 0.73333333 ],
17+
"sdu": 1,
18+
"odu": 0,
19+
20+
"DU2": [ 0.0 ],
21+
"sdu2": 1,
22+
"odu2": 0,
23+
24+
"IPIV": [ 0, 1, 2 ],
25+
"si": 1,
26+
"oi": 0,
27+
28+
"B": [ 7.0, 2.0, 1.0, 8.0, 3.0, 1.5, 7.0, 4.0, 2.0 ],
29+
"sb1": 3,
30+
"sb2": 1,
31+
"ob": 0,
32+
33+
"LDB": 3,
34+
35+
"expected": [1.4365079379889456 ,0.3960317469111395 ,0.1980158734555697,
36+
1.2539682480442178, 0.4158730123554421, 0.2079365061777211,
37+
1.5476190504889455, 0.9404761919111395 ,0.4702380959555698]
38+
}

0 commit comments

Comments
 (0)