Skip to content

Commit

Permalink
ENH: Add a test for different spacing in NIFTI's qform and sform
Browse files Browse the repository at this point in the history
Co-authored-by: Mihail Isakov <mihail.isakov@googlemail.com>
  • Loading branch information
dzenanz and issakomi committed Sep 19, 2022
1 parent 927eb26 commit 7e125c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Modules/IO/NIFTI/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ itk_add_test(NAME itkNiftiSmallVoxelsAffinePrecisionTest
COMMAND ITKIONIFTITestDriver itkNiftiImageIOTest13
DATA{Input/SmallVoxels_AffinePrecision.nii.gz})

itk_add_test(NAME itkNiftiQFormSFormDifferentSpacingTest
COMMAND ITKIONIFTITestDriver itkNiftiImageIOTest13
DATA{Input/ChickenEgg-zeros.nii.gz})

itk_add_test(NAME itkNiftiWriteCoerceOrthogonalDirectionTest
COMMAND ITKIONIFTITestDriver itkNiftiWriteCoerceOrthogonalDirectionTest
${ITK_TEST_OUTPUT_DIR}
Expand Down
1 change: 1 addition & 0 deletions Modules/IO/NIFTI/test/Input/ChickenEgg-zeros.nii.gz.sha512
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d95fac1775d814537ad66548b440abe4602a318e9bd2d3d4297fd697e37c574547718b45cc6feb2143703984137480e81ba006eb431f22ac045261e685eb8805

0 comments on commit 7e125c6

Please sign in to comment.