view assertIsMember.m @ 1215:c7c2cbb465df feature/joingrids

Close branch feature/joingrids
author Martin Almquist <malmquist@stanford.edu>
date Wed, 13 Nov 2019 22:13:20 +0000
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