mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
15 lines
296 B
Python
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,
|
|
)
|