SPB Git forge

spb/wp15_uqo

Public MIT
3commits 1branches 1releases
7.6 MBsize
maindefault branch
52 min agolast push
TeX 53.6% Python 46.2%
522 B · 20 lines python
Raw Blame History
1import sys2from pathlib import Path34sys.path.insert(0, str(Path(__file__).resolve().parents[1] / "src"))56from intraday_fragility.download import month_range789def test_month_range_within_year():10    assert month_range("1992-01", "1992-03") == [(1992, 1), (1992, 2), (1992, 3)]111213def test_month_range_across_years():14    r = month_range("1992-11", "1993-02")15    assert r == [(1992, 11), (1992, 12), (1993, 1), (1993, 2)]161718def test_month_range_full_span_count():19    assert len(month_range("1992-01", "2026-03")) == 41120