Mercurial > repos > public > sbplib
view assert_size.m @ 948:3dd7f87c9a1b feature/utux2D
Use assertType(...) instead of assert(isa(...))
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 05 Dec 2018 16:08:48 +0100 |
parents | afd20f023928 |
children |
line wrap: on
line source
% Assert that array A has the size s. function assert_size(A,s) warning('Use assertSize() instead!') assertSize(A,s); end