We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 960f293 commit ff3d0afCopy full SHA for ff3d0af
test/TestHash.m
@@ -30,6 +30,24 @@ function test_extract(tc)
30
31
end
32
33
+function test_sha256(tc)
34
+
35
+r = fileparts(mfilename('fullpath'));
36
+fn = fullfile(r, "hello.tar.zst");
37
38
+tc.verifyEqual(stdlib.sha256sum(fn), "36c1bbbdfd8d04ef546ffb15b9c0a65767fd1fe9a6135a257847e3a51fb1426c")
39
40
+end
41
42
+function test_md5sum(tc)
43
44
45
46
47
+tc.verifyEqual(stdlib.md5sum(fn), "d58cfb32e075781ba59082a8b18287f9")
48
49
50
51
52
53
0 commit comments