From dfd718e1069dbf4d10c548b5c3ad83943d4501e4 Mon Sep 17 00:00:00 2001 From: Gourav Kumar Date: Thu, 24 Feb 2022 23:34:39 +0530 Subject: [PATCH] Added one more test --- tests/test_fincal.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_fincal.py b/tests/test_fincal.py index 2d23914..31a76e0 100644 --- a/tests/test_fincal.py +++ b/tests/test_fincal.py @@ -204,3 +204,5 @@ class TestFincalBasic: assert round(returns, 4) == 0.6 returns = ts.calculate_returns("2020-04-01", compounding=True, interval_type='days', interval_value=90) assert round(returns, 4) == 5.727 + returns = ts.calculate_returns("2020-04-10", compounding=True, interval_type='days', interval_value=90) + assert round(returns, 4) == 5.727