Skip to content

Commit

Permalink
TestHDF4: need assume check for test file
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Jul 8, 2024
1 parent a9a5641 commit 672f682
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/TestHDF4.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

methods (TestClassSetup)
function setup_path(tc)
import matlab.unittest.constraints.IsFile
tc.TestData.basic = fullfile(matlabroot, "toolbox/matlab/demos/example.hdf");
tc.assumeThat(tc.TestData.basic, IsFile)
end
end

Expand Down

0 comments on commit 672f682

Please sign in to comment.