Skip to content

Commit 0d20376

Browse files
committed
update tests to note J=2
1 parent f3dc1d7 commit 0d20376

1 file changed

Lines changed: 19 additions & 3 deletions

File tree

tests/test_pensions.py

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,25 @@
2323
}
2424
p.update_specifications(new_param_values)
2525
p.retire = [3, 3, 3, 3, 3, 3, 3, 3]
26-
p1 = copy.deepcopy(p)
27-
p2 = copy.deepcopy(p)
28-
p3 = copy.deepcopy(p)
26+
p1 = Specifications()
27+
p1.update_specifications(
28+
{
29+
"S": 4,
30+
"rho": rho_vec.tolist(),
31+
"lambdas": [0.5, 0.5],
32+
"labor_income_tax_noncompliance_rate": [[0.0]],
33+
"capital_income_tax_noncompliance_rate": [[0.0]],
34+
"replacement_rate_adjust": [[1.0]],
35+
"J": 2,
36+
"T": 4,
37+
"chi_n": np.ones(4),
38+
"eta": (np.ones((4, 2)) / (4 * 2)),
39+
"e": np.ones((4, 2)),
40+
}
41+
)
42+
p1.retire = [3, 3, 3, 3, 3, 3, 3, 3]
43+
p2 = copy.deepcopy(p1)
44+
p3 = copy.deepcopy(p1)
2945
# Use just a column of e
3046
p1.e = np.transpose(np.array([[0.1, 0.3, 0.5, 0.2], [0.1, 0.3, 0.5, 0.2]]))
3147
# e has two dimensions

0 commit comments

Comments
 (0)