tests package
Submodules
tests.test_data_generator module
tests.test_data_processor module
- tests.test_data_processor.sample_df()[source]
Create a sample DataFrame with NaN values for testing.
- tests.test_data_processor.test_create_handler_drop()[source]
Test the create_handler method of MissingDataHandlerFactory with ‘drop’ strategy.
- tests.test_data_processor.test_create_handler_forward_fill()[source]
Test the create_handler method of MissingDataHandlerFactory with ‘forward_fill’ strategy.
- tests.test_data_processor.test_create_handler_invalid_strategy()[source]
Test the create_handler method of MissingDataHandlerFactory with an invalid strategy.
- tests.test_data_processor.test_fill_data(sample_df)[source]
Test fill_data with various filling methods.
- tests.test_data_processor.test_forward_fill(sample_df)[source]
Test forward_fill method correctly propagates values forward.
tests.test_stats_model_arima module
tests.test_stats_model_garch module
- tests.test_stats_model_garch.garch_sample_data()[source]
Generate data with volatility clustering for GARCH tests
- tests.test_stats_model_garch.test_model_garch_different_params(garch_sample_data)[source]
test diff p,q params
- tests.test_stats_model_garch.test_model_garch_forecast(garch_sample_data)[source]
test forecast output
- tests.test_stats_model_garch.test_model_garch_initialization(garch_sample_data)[source]
test garch init
- tests.test_stats_model_garch.test_model_garch_student_t_dist(garch_sample_data)[source]
test t-dist