From cba398a9e00d49057248ed8d3ad21f8abb783eb4 Mon Sep 17 00:00:00 2001 From: Kenneth Hsu Date: Fri, 16 Jun 2023 09:27:20 -0700 Subject: [PATCH] Missed a tiny ":" --- chainladder/core/tests/test_grain.py | 64 ++++++++++++++++++++++++---- 1 file changed, 56 insertions(+), 8 deletions(-) diff --git a/chainladder/core/tests/test_grain.py b/chainladder/core/tests/test_grain.py index 39b0ea54..978aecdb 100644 --- a/chainladder/core/tests/test_grain.py +++ b/chainladder/core/tests/test_grain.py @@ -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() \ No newline at end of file + 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()