view assertIsMember.m @ 1273:cf542444f022 feature/poroelastic

Correct error messages in lebedev2d
author Martin Almquist <malmquist@stanford.edu>
date Mon, 01 Jun 2020 19:00:31 -0700
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