Skip to content

Commit b948269

Browse files
committed
test: fix up fixtures
--- 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: na - 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 dfcc8f8 commit b948269

12 files changed

+205
-41
lines changed

lib/node_modules/@stdlib/lapack/base/dgtts2/test/fixtures/col_major_no_trans_ipiv_ne_i.json

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"N": 3,
66
"nrhs": 3,
77

8-
"DL": [ 0.5 , 0.5 ],
8+
"DL": [ 0.5, 0.5 ],
99
"sdl": 1,
1010
"odl": 0,
1111

12-
"D": [2 , 1 , 0.5],
12+
"D": [ 2.0, 1.0, 0.5 ],
1313
"sd": 1,
1414
"od": 0,
1515

@@ -29,8 +29,19 @@
2929
"sb1": 1,
3030
"sb2": 3,
3131
"ob": 0,
32-
3332
"LDB": 3,
3433

35-
"expected": [ 1, 5, -4, 1.5, 5, -3.5, 2, 3, -1 ]
34+
"B_mat": [
35+
[ 7.0, 8.0, 7.0 ],
36+
[ 2.0, 3.0, 4.0 ],
37+
[ 1.0, 1.5, 2.0 ]
38+
],
39+
40+
"expected": [ 1.0, 5.0, -4.0, 1.5, 5.0, -3.5, 2.0, 3.0, -1.0 ],
41+
42+
"expected_mat": [
43+
[ 1.0, 1.5, 2.0 ],
44+
[ 5.0, 5.0, 3.0 ],
45+
[ -4.0, -3.5, -1.0 ]
46+
]
3647
}

lib/node_modules/@stdlib/lapack/base/dgtts2/test/fixtures/col_major_no_trans_nrhs_eq_one.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,21 @@
2727

2828
"B": [ 7.0, 8.0, 7.0 ],
2929
"sb1": 1,
30-
"sb2": 1,
30+
"sb2": 3,
3131
"ob": 0,
32-
3332
"LDB": 3,
3433

35-
"expected": [1.4031746026466836 ,1.3873015894132654 ,1.4285714242665817]
34+
"B_mat": [
35+
[ 7.0 ],
36+
[ 8.0 ],
37+
[ 7.0 ]
38+
],
39+
40+
"expected": [ 1.4031746026466836, 1.3873015894132654, 1.4285714242665817 ],
41+
42+
"expected_mat": [
43+
[ 1.4031746026466836 ],
44+
[ 1.3873015894132654 ],
45+
[ 1.4285714242665817 ]
46+
]
3647
}

lib/node_modules/@stdlib/lapack/base/dgtts2/test/fixtures/col_major_no_trans_nrhs_gt_one.json

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,29 @@
2929
"sb1": 1,
3030
"sb2": 3,
3131
"ob": 0,
32-
3332
"LDB": 3,
3433

35-
"expected": [1.7455555555 , 0.017777778 , 0.25,
36-
1.9494841268814838 , 0.2020634924740646 , 0.33035714225924745,
37-
1.6183333331681546 , 0.526666667327381 , 0.37499999832589287]
34+
"B_mat": [
35+
[ 7.0, 8.0, 7.0 ],
36+
[ 2.0, 3.0, 4.0 ],
37+
[ 1.0, 1.5, 2.0 ]
38+
],
39+
40+
"expected": [
41+
1.7455555555,
42+
0.017777778,
43+
0.25,
44+
1.9494841268814838,
45+
0.2020634924740646,
46+
0.33035714225924745,
47+
1.6183333331681546,
48+
0.526666667327381,
49+
0.37499999832589287
50+
],
51+
52+
"expected_mat": [
53+
[ 1.7455555555, 1.9494841268814838, 1.6183333331681546 ],
54+
[ 0.017777778, 0.2020634924740646, 0.526666667327381 ],
55+
[ 0.25, 0.33035714225924745, 0.37499999832589287 ]
56+
]
3857
}

lib/node_modules/@stdlib/lapack/base/dgtts2/test/fixtures/col_major_trans_ipiv_ne_i.json

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"N": 3,
66
"nrhs": 3,
77

8-
"DL": [ 0.5 , 0.5 ],
8+
"DL": [ 0.5, 0.5 ],
99
"sdl": 1,
1010
"odl": 0,
1111

12-
"D": [2 , 1 , 0.5],
12+
"D": [ 2.0, 1.0, 0.5 ],
1313
"sd": 1,
1414
"od": 0,
1515

@@ -29,8 +29,19 @@
2929
"sb1": 1,
3030
"sb2": 3,
3131
"ob": 0,
32-
3332
"LDB": 3,
3433

35-
"expected": [ 1, 5, -4, 1.5, 5, -3.5, 2, 3, -1 ]
34+
"B_mat": [
35+
[ 7.0, 8.0, 7.0 ],
36+
[ 2.0, 3.0, 4.0 ],
37+
[ 1.0, 1.5, 2.0 ]
38+
],
39+
40+
"expected": [ 1.0, 5.0, -4.0, 1.5, 5.0, -3.5, 2.0, 3.0, -1.0 ],
41+
42+
"expected_mat": [
43+
[ 1.0, 1.5, 2.0 ],
44+
[ 5.0, 5.0, 3.0 ],
45+
[ -4.0, -3.5, -1.0 ]
46+
]
3647
}

lib/node_modules/@stdlib/lapack/base/dgtts2/test/fixtures/col_major_trans_nrhs_eq_one.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,19 @@
2929
"sb1": 1,
3030
"sb2": 1,
3131
"ob": 0,
32-
3332
"LDB": 3,
3433

35-
"expected": [1.4365079379889456, 1.2539682480442178 ,1.5476190504889455]
34+
"B_mat": [
35+
[ 7.0 ],
36+
[ 8.0 ],
37+
[ 7.0 ]
38+
],
39+
40+
"expected": [ 1.4365079379889456, 1.2539682480442178, 1.5476190504889455 ],
41+
42+
"expected_mat": [
43+
[ 1.4365079379889456 ],
44+
[ 1.2539682480442178 ],
45+
[ 1.5476190504889455 ]
46+
]
3647
}

lib/node_modules/@stdlib/lapack/base/dgtts2/test/fixtures/col_major_trans_nrhs_gt_one.json

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,29 @@
2929
"sb1": 1,
3030
"sb2": 3,
3131
"ob": 0,
32-
3332
"LDB": 3,
3433

35-
"expected": [ 1.7503174605488945 , -0.0012698421955782274 , 0.25476190504889457,
36-
1.9566269844548256 , 0.1734920621806973 , 0.34940476245482566,
37-
1.6278571432659439 , 0.48857142693622446 , 0.4178571437659439 ]
34+
"B_mat": [
35+
[ 7.0, 8.0, 7.0 ],
36+
[ 2.0, 3.0, 4.0 ],
37+
[ 1.0, 1.5, 2.0 ]
38+
],
39+
40+
"expected": [
41+
1.7503174605488945,
42+
-0.0012698421955782274,
43+
0.25476190504889457,
44+
1.9566269844548256,
45+
0.1734920621806973,
46+
0.34940476245482566,
47+
1.6278571432659439,
48+
0.48857142693622446,
49+
0.4178571437659439
50+
],
51+
52+
"expected_mat": [
53+
[ 1.7503174605488945, 1.9566269844548256, 1.6278571432659439 ],
54+
[ -0.0012698421955782274, 0.1734920621806973, 0.48857142693622446 ],
55+
[ 0.25476190504889457, 0.34940476245482566, 0.4178571437659439 ]
56+
]
3857
}

lib/node_modules/@stdlib/lapack/base/dgtts2/test/fixtures/row_major_no_trans_ipiv_ne_i.json

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"N": 3,
66
"nrhs": 3,
77

8-
"DL": [ 0.5 , 0.5 ],
8+
"DL": [ 0.5, 0.5 ],
99
"sdl": 1,
1010
"odl": 0,
1111

12-
"D": [2 , 1 , 0.5],
12+
"D": [ 2.0, 1.0, 0.5 ],
1313
"sd": 1,
1414
"od": 0,
1515

@@ -29,8 +29,19 @@
2929
"sb1": 3,
3030
"sb2": 1,
3131
"ob": 0,
32-
3332
"LDB": 3,
3433

35-
"expected": [ 1, -1, -0.5, 5, 4, 2, 2, 0, 0 ]
34+
"B_mat": [
35+
[ 7.0, 2.0, 1.0 ],
36+
[ 8.0, 3.0, 1.5 ],
37+
[ 7.0, 4.0, 2.0 ]
38+
],
39+
40+
"expected": [ 1.0, -1.0, -0.5, 5.0, 4.0, 2.0, 2.0, 0.0, 0.0 ],
41+
42+
"expected_mat": [
43+
[ 1.0, -1.0, -0.5 ],
44+
[ 5.0, 4.0, 2.0 ],
45+
[ 2.0, 0.0, 0.0 ]
46+
]
3647
}

lib/node_modules/@stdlib/lapack/base/dgtts2/test/fixtures/row_major_no_trans_nrhs_eq_one.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,19 @@
2929
"sb1": 1,
3030
"sb2": 1,
3131
"ob": 0,
32+
"LDB": 3,
3233

33-
"LDB": 1,
34+
"B_mat": [
35+
[ 7.0 ],
36+
[ 8.0 ],
37+
[ 7.0 ]
38+
],
3439

35-
"expected": [1.4031746026466836 ,1.3873015894132654 ,1.4285714242665817]
40+
"expected": [ 1.4031746026466836, 1.3873015894132654, 1.4285714242665817 ],
41+
42+
"expected_mat": [
43+
[ 1.4031746026466836 ],
44+
[ 1.3873015894132654 ],
45+
[ 1.4285714242665817 ]
46+
]
3647
}

lib/node_modules/@stdlib/lapack/base/dgtts2/test/fixtures/row_major_no_trans_nrhs_gt_one.json

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,29 @@
2929
"sb1": 3,
3030
"sb2": 1,
3131
"ob": 0,
32-
3332
"LDB": 3,
3433

35-
"expected": [1.4031746026466836 ,0.3769841267155612 , 0.1884920633577806,
36-
1.3873015894132654 , 0.49206349313775516, 0.24603174656887758,
37-
1.4285714242665817 , 0.8928571414221939 , 0.44642857071109693]
34+
"B_mat": [
35+
[ 7.0, 2.0, 1.0 ],
36+
[ 8.0, 3.0, 1.5 ],
37+
[ 7.0, 4.0, 2.0 ]
38+
],
39+
40+
"expected": [
41+
1.4031746026466836,
42+
0.3769841267155612,
43+
0.1884920633577806,
44+
1.3873015894132654,
45+
0.49206349313775516,
46+
0.24603174656887758,
47+
1.4285714242665817,
48+
0.8928571414221939,
49+
0.44642857071109693
50+
],
51+
52+
"expected_mat": [
53+
[ 1.4031746026466836, 0.3769841267155612, 0.1884920633577806 ],
54+
[ 1.3873015894132654, 0.49206349313775516, 0.24603174656887758 ],
55+
[ 1.4285714242665817, 0.8928571414221939, 0.44642857071109693 ]
56+
]
3857
}

lib/node_modules/@stdlib/lapack/base/dgtts2/test/fixtures/row_major_trans_ipiv_ne_i.json

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"N": 3,
66
"nrhs": 3,
77

8-
"DL": [ 0.5 , 0.5 ],
8+
"DL": [ 0.5, 0.5 ],
99
"sdl": 1,
1010
"odl": 0,
1111

12-
"D": [2 , 1 , 0.5],
12+
"D": [ 2.0, 1.0, 0.5 ],
1313
"sd": 1,
1414
"od": 0,
1515

@@ -29,8 +29,19 @@
2929
"sb1": 3,
3030
"sb2": 1,
3131
"ob": 0,
32-
3332
"LDB": 3,
3433

35-
"expected": [ 1, -1, -0.5, 5, 4, 2, 2, 0, 0 ]
34+
"B_mat": [
35+
[ 7.0, 2.0, 1.0 ],
36+
[ 8.0, 3.0, 1.5 ],
37+
[ 7.0, 4.0, 2.0 ]
38+
],
39+
40+
"expected": [ 1.0, -1.0, -0.5, 5.0, 4.0, 2.0, 2.0, 0.0, 0.0 ],
41+
42+
"expected_mat": [
43+
[ 1.0, -1.0, -0.5 ],
44+
[ 5.0, 4.0, 2.0 ],
45+
[ 2.0, 0.0, 0.0 ]
46+
]
3647
}

0 commit comments

Comments
 (0)