RosettaCodeData/Task/Assertions/MATLAB/assertions-1.m

2 lines
37 B
Matlab

assert(x == 42,'x = %d, not 42.',x);