Mercurial > repos > public > sbplib
changeset 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 |
files | +blockmatrix/isBlockmatrixTest.m |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
diff -r 764438b52541 -r 4ce0af75d2f4 +blockmatrix/isBlockmatrixTest.m --- a/+blockmatrix/isBlockmatrixTest.m Wed Jun 15 14:29:56 2016 +0200 +++ b/+blockmatrix/isBlockmatrixTest.m Wed Jun 15 15:54:53 2016 +0200 @@ -21,6 +21,10 @@ false % Column dimensions must match }, { + {}, + true % An empty matrix is a matrix too + }, + { { [2 2; 2 1], [1; 2]; [2 2], [1]