Mercurial > repos > public > sbplib
comparison +blockmatrix/isBlockmatrixTest.m @ 204:4ce0af75d2f4 feature/grids
Added a test.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 15 Jun 2016 15:54:53 +0200 |
parents | 764438b52541 |
children | f0ef314e2070 |
comparison
equal
deleted
inserted
replaced
203:764438b52541 | 204:4ce0af75d2f4 |
---|---|
17 false % Row dimensions must match | 17 false % Row dimensions must match |
18 }, | 18 }, |
19 { | 19 { |
20 {[2; 2; 2], [1; 2]}, | 20 {[2; 2; 2], [1; 2]}, |
21 false % Column dimensions must match | 21 false % Column dimensions must match |
22 }, | |
23 { | |
24 {}, | |
25 true % An empty matrix is a matrix too | |
22 }, | 26 }, |
23 { | 27 { |
24 { | 28 { |
25 [2 2; 2 1], [1; 2]; | 29 [2 2; 2 1], [1; 2]; |
26 [2 2], [1] | 30 [2 2], [1] |