Skip to content

Commit

Permalink
run test on matlab R2010
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Aug 22, 2022
1 parent 63b3f3d commit 59d092d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified octave/x86_64-pc-linux-gnu/zipmat.mex
Binary file not shown.
Binary file modified private/zipmat.mexa64
Binary file not shown.
2 changes: 1 addition & 1 deletion test/run_zmat_test.m
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function run_zmat_test(tests)
test_zmat('unsupported input (cell)', 'zlib', {}, 'input must be a char, non-complex numeric or logical vector or N-D array');
test_zmat('unsupported input (handle)', 'zlib', @sin, 'input must be a char, non-complex numeric or logical vector or N-D array');
test_zmat('unsupported input (complex)', 'gzip', 1+3i, 'input must be a char, non-complex numeric or logical vector or N-D array');
if (exist('string'))
if (exist('string') && ~ischar(string('test')))
test_zmat('unsupported input (string)', 'zlib', string(sprintf('zmat\ntest')), 'input must be a char, non-complex numeric or logical vector or N-D array');
end
test_zmat('zlib wrong input format', 'zlib', [1, 2, 3, 4], [], 'level', 0, 'status', -3);
Expand Down

0 comments on commit 59d092d

Please sign in to comment.