Skip to content

Commit

Permalink
Update test to use datapipe load()
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawrence committed Mar 19, 2021
1 parent f314832 commit 61f3706
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions +tests/+unit/dataPipeTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,9 @@ function testAppend(testCase)
end

%% verify data
fid = H5F.open(filename);
did = H5D.open(fid, name);

readData = H5D.read(did);

readData = Pipe.load();
testCase.verifyEqual(readData(:,:,1:10), initialData);
testCase.verifyEqual(readData(:,:,11:end), appendData);

H5D.close(did);
H5F.close(fid);
end

function data = createData(dataType, size)
Expand Down

0 comments on commit 61f3706

Please sign in to comment.