Skip to content

Commit

Permalink
Missed a tiny ":"
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethshsu committed Jun 16, 2023
1 parent aaba58e commit cba398a
Showing 1 changed file with 56 additions and 8 deletions.
64 changes: 56 additions & 8 deletions chainladder/core/tests/test_grain.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,59 @@ def test_annual_trailing(prism):


def test_development_age():
assert (cl.load_sample("raa").ddims == [12, 24, 36, 48, 60, 72, 84, 96, 108, 120]).all()

def test_development_age2()

assert (cl.load_sample("quarterly").ddims == [ 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39,
42, 45, 48, 51, 54, 57, 60, 63, 66, 69, 72, 75, 78,
81, 84, 87, 90, 93, 96, 99, 102, 105, 108, 111, 114, 117,
120, 123, 126, 129, 132, 135]).all()
assert (
cl.load_sample("raa").ddims == [12, 24, 36, 48, 60, 72, 84, 96, 108, 120]
).all()


def test_development_age_quarterly():
assert (
cl.load_sample("quarterly").ddims
== [
3,
6,
9,
12,
15,
18,
21,
24,
27,
30,
33,
36,
39,
42,
45,
48,
51,
54,
57,
60,
63,
66,
69,
72,
75,
78,
81,
84,
87,
90,
93,
96,
99,
102,
105,
108,
111,
114,
117,
120,
123,
126,
129,
132,
135,
]
).all()

0 comments on commit cba398a

Please sign in to comment.