Files
OpenBB/openbb_platform/extensions/quantitative/tests/test_quantitative_helpers.py
2024-03-14 13:54:03 +00:00

15 lines
296 B
Python

"""Test the quantitative helpers."""
import pandas as pd
from extensions.quantitative.openbb_quantitative.helpers import (
validate_window,
)
def test_validate_window():
input_data = pd.Series(range(1, 100))
validate_window(
input_data=input_data,
window=20,
)