view assertIsMember.m @ 1147:c322a9454d75 feature/rv

Rename scheme according to conventions
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Sat, 19 Jan 2019 17:22:09 +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