Skip to content

Commit 61f3706

Browse files
author
Lawrence
committed
Update test to use datapipe load()
1 parent f314832 commit 61f3706

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

+tests/+unit/dataPipeTest.m

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,9 @@ function testAppend(testCase)
4141
end
4242

4343
%% verify data
44-
fid = H5F.open(filename);
45-
did = H5D.open(fid, name);
46-
47-
readData = H5D.read(did);
48-
44+
readData = Pipe.load();
4945
testCase.verifyEqual(readData(:,:,1:10), initialData);
5046
testCase.verifyEqual(readData(:,:,11:end), appendData);
51-
52-
H5D.close(did);
53-
H5F.close(fid);
5447
end
5548

5649
function data = createData(dataType, size)

0 commit comments

Comments
 (0)