view assertIsMember.m @ 875:5b06d4afa732

Add grid for just a collection of nodes
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 01 Nov 2018 14:10:47 +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