torax.time_step_calculator.tests package

Submodules

torax.time_step_calculator.tests.pydantic_model_test module

class torax.time_step_calculator.tests.pydantic_model_test.PydanticModelTest(*args, **kwargs)[source]

Bases: TestCase

test_build_time_step_calculator_from_config_chi(calculator_type='chi', expected_type=<class 'torax.time_step_calculator.chi_time_step_calculator.ChiTimeStepCalculator'>)

Builds a time step calculator from the config.

test_build_time_step_calculator_from_config_fixed(calculator_type='fixed', expected_type=<class 'torax.time_step_calculator.fixed_time_step_calculator.FixedTimeStepCalculator'>)

Builds a time step calculator from the config.

Module contents

Time step calculator tests.