Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Krause
zipmask
Commits
c08e66d9
Commit
c08e66d9
authored
May 04, 2020
by
Michael Krause
🎉
Browse files
Make cube test asymmetric
parent
9f50d739
Changes
1
Hide whitespace changes
Inline
Side-by-side
zipmask_test.m
View file @
c08e66d9
...
...
@@ -7,7 +7,7 @@ zs = zeros(d, d, d);
function test_cube()
mask = zs;
l = ceil(d/4);
mask(1:l,
1
:l,
1
:l) = 1;
mask(1:l,
2
:l
+1
,
3
:l
+1
) = 1;
s = zipmask_pack(m, mask);
[um, umask] = zipmask_unpack(s);
assert(isequal(umask, mask));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment