Skip to content

Commit

Permalink
ENH: add a test image with origin and spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
dzenanz committed Dec 27, 2022
1 parent dd892d7 commit ab1a5a4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ itk_add_test(NAME itkOMEZarrNGFFImageIOReadConvertTestDzZ_T1seg
${ITK_TEST_OUTPUT_DIR}/DzZ_T1seg.zarr
)

# 3D test image with non-identity origin and spacing
itk_add_test(NAME itkOMEZarrNGFFImageIOReadConvertTest_OriginSpacing
COMMAND IOOMEZarrNGFFTestDriver
--compare
DATA{Input/PV6.0_FLASH_FLOAT32.mha}
${ITK_TEST_OUTPUT_DIR}/PV6.0_FLASH_FLOAT32.zarr
itkOMEZarrNGFFImageIOTest
DATA{Input/PV6.0_FLASH_FLOAT32.mha}
${ITK_TEST_OUTPUT_DIR}/PV6.0_FLASH_FLOAT32.zarr
)


# itk_add_test(NAME itkOMEZarrNGFFImageIOWriteConvertTestCT1
# COMMAND IOOMEZarrNGFFTestDriver
# --compare
Expand Down
1 change: 1 addition & 0 deletions test/Input/PV6.0_FLASH_FLOAT32.mha.sha512
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ac9b3f466a565739ab3d05ee504f17c71192d6abfc5697334a53a61ac08103fcaf658613111abb270ebf4eaa4428dc4fbc5e77da5e44cdc3dd1bfee6dd6a9795

0 comments on commit ab1a5a4

Please sign in to comment.