Mercurial > repos > public > sbplib
view assertIsMember.m @ 1075:1f472522c515 feature/grids/LaplaceSquared
Close branch before merge
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 13 Feb 2019 20:51:56 +0100 |
parents | c596122374df |
children |
line wrap: on
line source
function assertIsMember(v, allowed) assert(ismember(v, allowed), 'Expected ''%s'' to be in the set %s', inputname(1), toString(allowed)); end