Peano
Loading...
Searching...
No Matches
test_load_checkpoint Namespace Reference

Unit tests for the setup from a checkpoint (exahype2.api.blockstructured.LoadCheckpoint.LoadCheckpoint). More...

Functions

 _solver (scheme)
 _setup_graph (solver, tmp_path)
 test_both_schemes_offer_the_same_setup ()
 test_setup_refines_consolidates_and_loads (tmp_path, scheme, halo)
 test_latest_checkpoint_by_default (tmp_path)
 test_restore_moves_plotters_on (tmp_path)

Detailed Description

Unit tests for the setup from a checkpoint (exahype2.api.blockstructured.LoadCheckpoint.LoadCheckpoint).

Function Documentation

◆ _setup_graph()

test_load_checkpoint._setup_graph ( solver,
tmp_path )
protected

Definition at line 28 of file test_load_checkpoint.py.

Referenced by test_latest_checkpoint_by_default(), test_restore_moves_plotters_on(), and test_setup_refines_consolidates_and_loads().

Here is the caller graph for this function:

◆ _solver()

test_load_checkpoint._solver ( scheme)
protected

Definition at line 13 of file test_load_checkpoint.py.

Referenced by test_latest_checkpoint_by_default(), test_restore_moves_plotters_on(), and test_setup_refines_consolidates_and_loads().

Here is the caller graph for this function:

◆ test_both_schemes_offer_the_same_setup()

test_load_checkpoint.test_both_schemes_offer_the_same_setup ( )

Definition at line 36 of file test_load_checkpoint.py.

◆ test_latest_checkpoint_by_default()

test_load_checkpoint.test_latest_checkpoint_by_default ( tmp_path)

Definition at line 73 of file test_load_checkpoint.py.

References _setup_graph(), and _solver().

Here is the call graph for this function:

◆ test_restore_moves_plotters_on()

test_load_checkpoint.test_restore_moves_plotters_on ( tmp_path)

Definition at line 85 of file test_load_checkpoint.py.

References _setup_graph(), and _solver().

Here is the call graph for this function:

◆ test_setup_refines_consolidates_and_loads()

test_load_checkpoint.test_setup_refines_consolidates_and_loads ( tmp_path,
scheme,
halo )

Definition at line 41 of file test_load_checkpoint.py.

References _setup_graph(), and _solver().

Here is the call graph for this function: