Skip to content

Commit

Permalink
Reduce a 50mb and 14mb test file to 224kb and 65kb. (#2337)
Browse files Browse the repository at this point in the history
  • Loading branch information
akenmorris authored Oct 13, 2024
1 parent 97c4fc0 commit dd2b58d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions Testing/ImageTests/ImageTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,8 @@ TEST(ImageTests, isoresampleDistanceTransformIsotropicTest) {

TEST(ImageTests, isoresampleDistanceTransformAnisotropicTest) {
Image image(std::string(TEST_DATA_DIR) + "/binary-anisotropic-dt.nrrd");
image.resample();
image.resample(6.0);
Image ground_truth(std::string(TEST_DATA_DIR) + "/binary-anisotropic-dt-isoresampled.nrrd");

ASSERT_TRUE(image.compare(ground_truth, true, 0.01));
}

Expand Down
4 changes: 2 additions & 2 deletions Testing/data/binary-anisotropic-dt-isoresampled.nrrd
Git LFS file not shown
4 changes: 2 additions & 2 deletions Testing/data/binary-anisotropic-dt.nrrd
Git LFS file not shown

0 comments on commit dd2b58d

Please sign in to comment.