Skip to content

Commit

Permalink
add test for refit_models
Browse files Browse the repository at this point in the history
  • Loading branch information
mastoffel committed Feb 23, 2024
1 parent 0994de0 commit b06e2c1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,9 @@ def test_refit_model(ae_run):
model = ae_run.get_model(rank=1)
refitted_model = ae_run.refit_model(model)
assert refitted_model is not None


def test_refit_models(ae_run):
models = ae_run.refit_models()
assert models is not None
assert len(models) == len(ae_run.models)

0 comments on commit b06e2c1

Please sign in to comment.