diff --git a/unit_tests/test_full.py b/unit_tests/test_full.py index a11b1a2..b107077 100644 --- a/unit_tests/test_full.py +++ b/unit_tests/test_full.py @@ -5,7 +5,7 @@ import yaml from ereg.cli.run import main -from ereg.functional import registration_function +from ereg.functional import registration_function, resample_function from ereg.registration import RegistrationClass from ereg.utils.io import read_image_and_cast_to_32bit_float @@ -101,6 +101,15 @@ def test_registration_function(): log_file=log_file, ) _image_sanity_check(atlas_sri, output_image) + resample_function( + target_image=atlas_sri, + moving_image=moving_image, + output_image=output_image, + transform_file=transform_file, + configuration=test_config, + log_file=log_file, + ) + _image_sanity_check(atlas_sri, output_image) assert os.path.exists(transform_file), "Transform file not created." assert os.path.exists(log_file), "Log file not created." for file_to_delete in [output_image, transform_file, log_file]: