annotate assertIsMember.m @ 1334:df8c71b80c33 feature/D2_boundary_opt

Use the logic grid associated with a CurvilinearGrid instead of creating a new one
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Sat, 07 May 2022 10:40:47 +0200
parents c596122374df
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
775
c596122374df Add a few assert functions
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
1 function assertIsMember(v, allowed)
c596122374df Add a few assert functions
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
2 assert(ismember(v, allowed), 'Expected ''%s'' to be in the set %s', inputname(1), toString(allowed));
c596122374df Add a few assert functions
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
3 end